Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hx/libs/std/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# include <memory.h>
# include <errno.h>
# include <signal.h>
# if defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN)
# if defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN) || defined(NEKO_BSD)
# include <sys/wait.h>
# elif !defined(NEKO_MAC)
# include <wait.h>
Expand Down
6 changes: 3 additions & 3 deletions src/hx/libs/std/Socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ int _hx_std_host_resolve( String host )
struct hostent *h = 0;
hx::strbuf hostBuf;

# if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(BLACKBERRY) || defined(EMSCRIPTEN)
# if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(BLACKBERRY) || defined(EMSCRIPTEN) || defined(NEKO_BSD)
h = gethostbyname(host.utf8_str(&hostBuf));
# else
struct hostent hbase;
Expand Down Expand Up @@ -522,7 +522,7 @@ String _hx_std_host_reverse( int host )
struct hostent *h = 0;
unsigned int ip = host;
hx::EnterGCFreeZone();
#if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN)
#if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN) || defined(NEKO_BSD)
h = gethostbyaddr((char *)&ip,4,AF_INET);
#else
struct hostent htmp;
Expand All @@ -543,7 +543,7 @@ String _hx_std_host_reverse_ipv6( Array<unsigned char> host )

struct hostent *h = 0;
hx::EnterGCFreeZone();
#if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN)
#if defined(NEKO_WINDOWS) || defined(NEKO_MAC) || defined(ANDROID) || defined(BLACKBERRY) || defined(EMSCRIPTEN) || defined(NEKO_BSD)
h = gethostbyaddr((char *)&host[0],16,AF_INET6);
#else
struct hostent htmp;
Expand Down
4 changes: 2 additions & 2 deletions src/hx/libs/std/Sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <limits.h>
#ifndef ANDROID
#include <locale.h>
#if !defined(BLACKBERRY) && !defined(EPPC) && !defined(GCW0) && !defined(__GLIBC__)
#if !defined(BLACKBERRY) && !defined(EPPC) && !defined(GCW0) && !defined(__GLIBC__) && !defined(NEKO_BSD)
#include <xlocale.h>
#endif
#endif
Expand All @@ -52,7 +52,7 @@
#include <string>
#endif

#ifdef HX_ANDROID
#if defined(HX_ANDROID) || defined(NEKO_BSD)
#include <sys/wait.h>
#endif

Expand Down