summaryrefslogtreecommitdiff
path: root/tdb/spinlock.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-22 19:39:28 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:05:23 -0700
commitaa04c7f0cf40d07a25cc3186c8d786cf9014f531 (patch)
tree9615d240a66c3edaf89e38abb517393d0aaa2881 /tdb/spinlock.c
parent3e2677a31ea601d49977bc9ed6b29523a9898534 (diff)
[PATCH] tweak tdb to build within udev better.
Diffstat (limited to 'tdb/spinlock.c')
-rw-r--r--tdb/spinlock.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tdb/spinlock.c b/tdb/spinlock.c
index 2370ce3bdd..4b17b1d943 100644
--- a/tdb/spinlock.c
+++ b/tdb/spinlock.c
@@ -17,11 +17,17 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+/* udev defines */
+#define STANDALONE
+#define TDB_DEBUG
+#define HAVE_MMAP 1
+
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
-#if STANDALONE
+#ifdef STANDALONE
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>