Przeglądaj źródła

include netinet/tcp.h for TCP_NODELAY

Julius Pfrommer 10 lat temu
rodzic
commit
5da5593889
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      examples/networklayer_tcp.c

+ 1 - 0
examples/networklayer_tcp.c

@@ -14,6 +14,7 @@
 #else
 #include <sys/select.h> 
 #include <netinet/in.h>
+#include <netinet/tcp.h>
 #include <sys/socketvar.h>
 #include <sys/ioctl.h>
 #include <unistd.h> // read, write, close