瀏覽代碼

explicitly include sys/socket.h

Lee Salzman 12 年之前
父節點
當前提交
5d76b92c54
共有 1 個文件被更改,包括 1 次插入0 次删除
  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>