Fix for interface issues (Bug 571909 <571909@bugs.launchpad.net>)
[m6w6/libmemcached] / libmemcached / protocol / common.h
index 48782a0c735cf85bc00b9b059b8f5e6c4e2a9b44..1d29798c98d5c5b87a7b1861f3e094d2ab6ce43d 100644 (file)
@@ -3,7 +3,9 @@
 #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>