Browse Source

explicitly include sys/socket.h

Lee Salzman 12 năm trước cách đây
mục cha
commit
5d76b92c54
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/enet/unix.h

+ 1 - 0
include/enet/unix.h

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