Explorar o código

include netinet/tcp.h for TCP_NODELAY

Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
5da5593889
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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