Browse Source

build on OSX too

David Rose 19 years ago
parent
commit
8bbc4f455d
2 changed files with 4 additions and 3 deletions
  1. 3 2
      panda/src/nativenet/Sources.pp
  2. 1 1
      panda/src/nativenet/socket_portable.h

+ 3 - 2
panda/src/nativenet/Sources.pp

@@ -2,8 +2,9 @@
 
 #define LOCAL_LIBS express pandabase
 
-#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
-                   dtoolutil:c dtoolbase:c dtool:m
+#define OTHER_LIBS \
+    interrogatedb:c dconfig:c dtoolconfig:m \
+    dtoolutil:c dtoolbase:c prc:c dtool:m
 
 #define BUILD_DIRECTORY $[WANT_NATIVE_NET]
 

+ 1 - 1
panda/src/nativenet/socket_portable.h

@@ -244,7 +244,7 @@ const int LOCAL_CONNECT_BLOCKING = EINPROGRESS;
 * LINUX and FreeBSD STUFF
 ************************************************************************/
 
-#elif defined(IS_LINUX) || defined(FreeBSD)
+#elif defined(IS_LINUX) || defined(IS_OSX) || defined(FreeBSD)
 
 #include <sys/types.h>
 #include <sys/time.h>