#include <unistd.h>
#include <stdint.h>
#include <pthread.h>
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <math.h>
#include "ms_stats.h"
#include <sys/types.h>
#include <stdint.h>
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <time.h>
#ifdef __cplusplus
#define LIBMEMCACHED_PROTOCOL_COMMON_H
#include "config.h"
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <assert.h>
#include <netinet/in.h>
#define MEMCACHED_PROTOCOL_H
#include <sys/types.h>
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <libmemcached/memcached/protocol_binary.h>
#include <libmemcached/visibility.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdbool.h>
#include <stdint.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
+
typedef struct world_st world_st;
typedef struct collection_st collection_st;
typedef struct test_st test_st;