Updating for merge
[m6w6/libmemcached] / libmemcached / memcached_watchpoint.h
index 03c2b16003c1a07257a4fe3e5a9934391d034f80..d61aadfd8335223d403642a75416874f70bcfbe1 100644 (file)
@@ -16,6 +16,8 @@ extern "C" {
 /* Some personal debugging functions */
 #ifdef MEMCACHED_INTERNAL 
 #ifdef HAVE_DEBUG
+#include <assert.h>
+
 #define WATCHPOINT fprintf(stderr, "\nWATCHPOINT %s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
 #define WATCHPOINT_ERROR(A) fprintf(stderr, "\nWATCHPOINT %s:%d %s\n", __FILE__, __LINE__, memcached_strerror(NULL, A));fflush(stdout);
 #define WATCHPOINT_IFERROR(A) if(A != MEMCACHED_SUCCESS)fprintf(stderr, "\nWATCHPOINT %s:%d %s\n", __FILE__, __LINE__, memcached_strerror(NULL, A));fflush(stdout);