소스 검색

Merge pull request #96 from Subv/patch-2

 Add the <arpa/inet.h> include to unix.h
Lee Salzman 7 년 전
부모
커밋
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>