ソースを参照

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