summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-17 09:23:28 +0100
committerGreg KH <gregkh@suse.de>2005-04-27 06:13:08 +0200
commitd546791d3ab1cbf8cb08b27eab1fc09e1c5d04dc (patch)
tree20b94361601dde9c7fc49b37029a578e8cee7c1d
parent[PATCH] sync klibc with release 0.95 (diff)
downloadsystemd-d546791d3ab1cbf8cb08b27eab1fc09e1c5d04dc.tar.xz
systemd-d546791d3ab1cbf8cb08b27eab1fc09e1c5d04dc.zip
[PATCH] signal fixes due to klibc update.
-rw-r--r--tdb/spinlock.c1
-rw-r--r--tdb/tdb.c1
-rw-r--r--tdb/tdb.h1
-rw-r--r--udevdb.c1
4 files changed, 4 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() */
diff --git a/udevdb.c b/udevdb.c
index e0bd39e84b..5be3c25151 100644
--- a/udevdb.c
+++ b/udevdb.c
@@ -24,6 +24,7 @@
/*
* udev database library
*/
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>