chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2677a
)
[PATCH] tweak tdb to build within udev better.
author
greg@kroah.com
<greg@kroah.com>
Thu, 23 Oct 2003 02:39:28 +0000
(19:39 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:05:23 +0000
(21:05 -0700)
tdb/spinlock.c
patch
|
blob
|
history
tdb/tdb.c
patch
|
blob
|
history
diff --git
a/tdb/spinlock.c
b/tdb/spinlock.c
index 2370ce3bdd93286d8c86e3f7c410a3e0ad1e37a4..4b17b1d9431e6e5022fe1d59e096c07e34945f46 100644
(file)
--- 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
+#if
def
STANDALONE
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
diff --git
a/tdb/tdb.c
b/tdb/tdb.c
index 34681ea78f28fea90617ad1699fae9e37abd7eef..772602ed5b3060bcaa7fea7a55882b4d3f0994fa 100644
(file)
--- a/
tdb/tdb.c
+++ b/
tdb/tdb.c
@@
-41,6
+41,12
@@
* 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>