2
0
Эх сурвалжийг харах

Merge pull request #96 from Subv/patch-2

 Add the <arpa/inet.h> include to unix.h
Lee Salzman 7 жил өмнө
parent
commit
e2ef83927d
2 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 0
      include/enet/unix.h
  2. 0 1
      unix.c

+ 1 - 0
include/enet/unix.h

@@ -9,6 +9,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <arpa/inet.h>
 #include <netinet/in.h>
 #include <unistd.h>
 

+ 0 - 1
unix.c

@@ -8,7 +8,6 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
-#include <arpa/inet.h>
 #include <netinet/tcp.h>
 #include <netdb.h>
 #include <unistd.h>