]> diplodocus.org Git - nmh/commitdiff
IPPROTO_TCP requires <netinet/in.h>
authorLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 03:57:22 +0000 (19:57 -0800)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 03:57:22 +0000 (19:57 -0800)
At least on BSD it does.

test/fakepop.c
test/fakesmtp.c

index 389588d201c09e1d3f1893e5daef81bf683f3eac..bca565d14b80e3ca6ba131ef6a7f6837e08093cf 100644 (file)
@@ -13,6 +13,7 @@
 #include <netdb.h>
 #include <errno.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/select.h>
 #include <sys/stat.h>
index fbfe044233a2cb5b345bd0971b81617194cb78ec..7121c30211df5cd1c980a6f75b3fe8fd9ab19b07 100644 (file)
@@ -13,6 +13,7 @@
 #include <netdb.h>
 #include <errno.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/select.h>
 #include <sys/stat.h>