mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
Fix headers for node_net.cc
This commit is contained in:
1 parent
cd921c2c62
commit
cbf73fcccd
1 file changed
+12
-7
+12
-7
@@ -8,18 +8,23 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <arpa/inet.h> /* inet_pton */
|
||||
|
||||
#include <netdb.h>
|
||||
#ifdef __MINGW32__
|
||||
# include <winsock2.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#else // __POSIX__
|
||||
# include <sys/ioctl.h>
|
||||
# include <sys/socket.h>
|
||||
# include <sys/un.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
# include <arpa/inet.h> /* inet_pton */
|
||||
|
||||
# include <netdb.h>
|
||||
# include <netinet/in.h>
|
||||
# include <netinet/tcp.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
# include <linux/sockios.h> /* For the SIOCINQ / FIONREAD ioctl */
|
||||
|
||||
Reference in new issue
Block a user