p9y: fix TCP constants
[m6w6/libmemcached] / src / p9y / socket.hpp
index ca0b97d3a5f140ec48cf6bc9b71ecfb56489fe50..139ebb5622ee223d76d936cf957c2e3c3d0ac238 100644 (file)
@@ -8,6 +8,8 @@
 # include <errno.h>
 #endif
 
+#include <fcntl.h>
+
 #if defined HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #endif
 # include <netinet/in.h>
 #endif
 
+#if defined HAVE_NETINET_TCP_H
+#  include <netinet/tcp.h>
+#endif
+
 #if defined HAVE_SYS_UN_H
 # include <sys/un.h>
 #endif