#ifndef __COMMON_H__
#define __COMMON_H__
+#include "libmemcached/libmemcached_config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/un.h>
#include <netinet/tcp.h>
+
+#include "libmemcached/memcached.h"
+#include "libmemcached/memcached_io.h"
+
+#include "libmemcached/memcached/protocol_binary.h"
+
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
-#include <memcached.h>
-#include "memcached_io.h"
-
-#include "memcached/protocol_binary.h"
-#include "libmemcached_config.h"
-
#if !defined(__GNUC__) || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
#define likely(x) if((x))
MEM_BINARY_PROTOCOL= (1 << 12),
MEM_HASH_WITH_PREFIX_KEY= (1 << 13),
MEM_NOREPLY= (1 << 14),
- MEM_USE_UDP= (1 << 15)
+ MEM_USE_UDP= (1 << 15),
+ MEM_AUTO_EJECT_HOSTS= (1 << 16)
} memcached_flags;
/* Hashing algo */