chiark / gitweb /
[PATCH] tweak tdb to build within udev better.
authorgreg@kroah.com <greg@kroah.com>
Thu, 23 Oct 2003 02:39:28 +0000 (19:39 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:05:23 +0000 (21:05 -0700)
tdb/spinlock.c
tdb/tdb.c

index 2370ce3bdd93286d8c86e3f7c410a3e0ad1e37a4..4b17b1d9431e6e5022fe1d59e096c07e34945f46 100644 (file)
    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>
index 34681ea78f28fea90617ad1699fae9e37abd7eef..772602ed5b3060bcaa7fea7a55882b4d3f0994fa 100644 (file)
--- a/tdb/tdb.c
+++ b/tdb/tdb.c
  * right time.  Probably too hard -- the process just doesn't know.
  */ 
 
+/* udev defines */
+#define STANDALONE
+#define TDB_DEBUG
+#define HAVE_MMAP      1
+
+
 #ifdef STANDALONE
 #if HAVE_CONFIG_H
 #include <config.h>