chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] PATCH some cleanups and security fixes
[elogind.git]
/
tdb
/
tdb.c
diff --git
a/tdb/tdb.c
b/tdb/tdb.c
index 34681ea78f28fea90617ad1699fae9e37abd7eef..9ae57a974e08cf1054b4a51b19988f065a7d4228 100644
(file)
--- a/
tdb/tdb.c
+++ b/
tdb/tdb.c
@@
-41,11
+41,18
@@
* right time. Probably too hard -- the process just doesn't know.
*/
* 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>
#endif
#ifdef STANDALONE
#if HAVE_CONFIG_H
#include <config.h>
#endif
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>