summaryrefslogtreecommitdiff
path: root/tdb
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-17 00:23:28 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:08 -0700
commitd546791d3ab1cbf8cb08b27eab1fc09e1c5d04dc (patch)
tree20b94361601dde9c7fc49b37029a578e8cee7c1d /tdb
parent3555a14bae9f372385e4bc01368027cdbc29384c (diff)
[PATCH] signal fixes due to klibc update.
Diffstat (limited to 'tdb')
-rw-r--r--tdb/spinlock.c1
-rw-r--r--tdb/tdb.c1
-rw-r--r--tdb/tdb.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/tdb/spinlock.c b/tdb/spinlock.c
index 9bf42adfcf..50cd952c72 100644
--- a/tdb/spinlock.c
+++ b/tdb/spinlock.c
@@ -28,6 +28,7 @@
#endif
#ifdef STANDALONE
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/tdb/tdb.c b/tdb/tdb.c
index 772602ed5b..9ae57a974e 100644
--- a/tdb/tdb.c
+++ b/tdb/tdb.c
@@ -52,6 +52,7 @@
#include <config.h>
#endif
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
diff --git a/tdb/tdb.h b/tdb/tdb.h
index 839d5b1516..cac172adce 100644
--- a/tdb/tdb.h
+++ b/tdb/tdb.h
@@ -25,6 +25,7 @@
extern "C" {
#endif
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <signal.h>
/* flags to tdb_store() */