* you will not receive the next command before a answer to the previous
* command is being sent.
*/
-#include "config.h"
+#include "mem_config.h"
#include <cassert>
#include <cerrno>
#include <cstring>
#include <fcntl.h>
#include <sys/types.h>
-#include <unistd.h>
-
-#include <libmemcachedprotocol-0.0/handler.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <libmemcachedprotocol-0/handler.h>
#include <example/byteorder.h>
#include "example/memcached_light.h"
#include "example/storage.h"