Sign fix for variable (this should solve the solaris warning).
[m6w6/libmemcached] / clients / ms_memslap.h
index 51023d9d2514868722b2f0c3690d7e5f6ae6bbb6..87caca5dc1408ba422c5fec17c7e09ee1520dddd 100644 (file)
@@ -19,7 +19,9 @@
 #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"