Explorar o código

Add netinet/tcp.h to includes to support TCP socket options on *nix.

z3apa3a %!s(int64=9) %!d(string=hai) anos
pai
achega
34443d6515
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/structures.h

+ 1 - 0
src/structures.h

@@ -28,6 +28,7 @@ extern "C" {
 #ifndef _WIN32
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <pthread.h>