semver: 1.0 -> 1
[m6w6/libmemcached] / src / p9y / socket.hpp
index 339b5995bf285465e160c8989b12c563fdda8a5b..23237e733b82e6a2e734d64c53dbbfd22cb0d2b0 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-#include "libmemcached-1.0/platform.h"
+#include "libmemcached-1/platform.h"
 
 #if defined __cplusplus
 # include <cerrno>
@@ -8,6 +8,8 @@
 # include <errno.h>
 #endif
 
+#include <fcntl.h>
+
 #if defined HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #endif
 # include <sys/socket.h>
 #endif
 
+#if defined HAVE_NETINET_IN_H
+# 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