diff options
author | Ryan <ry@tinyclouds.org> | 2009-05-27 01:35:54 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-05-27 01:35:54 +0200 |
commit | 562db19d32d8ff9eaa6e8281dcd3298366247c4b (patch) | |
tree | f2132a4a3d1e258d289a76cc1195df7c5ee40fe9 | |
parent | 11b2e5dcc4b638805793c1d948ad491209510023 (diff) | |
download | android-node-v8-562db19d32d8ff9eaa6e8281dcd3298366247c4b.tar.gz android-node-v8-562db19d32d8ff9eaa6e8281dcd3298366247c4b.tar.bz2 android-node-v8-562db19d32d8ff9eaa6e8281dcd3298366247c4b.zip |
Add includes for freebsd compatibility
-rw-r--r-- | deps/liboi/oi_socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/liboi/oi_socket.c b/deps/liboi/oi_socket.c index 8a350d998d..e752f9ef23 100644 --- a/deps/liboi/oi_socket.c +++ b/deps/liboi/oi_socket.c @@ -33,6 +33,8 @@ #include <string.h> /* memset */ #include <netinet/tcp.h> /* TCP_NODELAY */ +#include <sys/types.h> +#include <sys/socket.h> /* shutdown */ #include <ev.h> #include <oi_socket.h> |