Some GDBMs use synchronous access by default, it seems, and GDBM_SYNC
authorcmiller <cmiller>
Wed, 7 Mar 2001 16:55:31 +0000 (16:55 +0000)
committercmiller <cmiller>
Wed, 7 Mar 2001 16:55:31 +0000 (16:55 +0000)
isn't defined.  Fixed that.

src/include/missing.h
src/modules/rlm_counter/rlm_counter.c

index c9a70f7..fabb1c0 100644 (file)
@@ -80,3 +80,7 @@ void endusershell(void);
 #define REG_EXTENDED (0)
 #endif
 #endif
+
+#ifndef GDBM_SYNC
+#define GDBM_SYNC (0)
+#endif
index eed6ffe..f40550e 100644 (file)
@@ -34,6 +34,8 @@
 
 #include <gdbm.h>
 
+#include "missing.h"
+
 static const char rcsid[] = "$Id$";
 
 /*