瀏覽代碼

include netinet/tcp.h for TCP_NODELAY

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