WIP
[m6w6/libmemcached] / src / libmemcachedprotocol / handler.c
index b412b9e9f9009aad375aa6aee628da63d642e099..b848407245ba07a22a475548cbe962a54a620bf0 100644 (file)
 #include <errno.h>
 #include <stdbool.h>
 #include <string.h>
-#include <strings.h>
+#if HAVE_STRINGS_H
+#  include <strings.h>
+#endif
 #include <ctype.h>
 #include <stdio.h>
 
 #include <sys/types.h>
-#include <sys/socket.h>
+#ifdef HAVE_SYS_SOCKET_H
+#  include <sys/socket.h>
+#endif
 
 /*
 ** **********************************************************************