chiark / gitweb /
[PATCH] signal fixes due to klibc update.
authorgreg@kroah.com <greg@kroah.com>
Wed, 17 Dec 2003 08:23:28 +0000 (00:23 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:08 +0000 (21:13 -0700)
tdb/spinlock.c
tdb/tdb.c
tdb/tdb.h
udevdb.c

index 9bf42adfcf9eb02d49a5085bba861bdd4f35831b..50cd952c727a0cc7c72df7fbd08034f3771fa1eb 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #ifdef STANDALONE
 #endif
 
 #ifdef STANDALONE
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
index 772602ed5b3060bcaa7fea7a55882b4d3f0994fa..9ae57a974e08cf1054b4a51b19988f065a7d4228 100644 (file)
--- a/tdb/tdb.c
+++ b/tdb/tdb.c
@@ -52,6 +52,7 @@
 #include <config.h>
 #endif
 
 #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>
index 839d5b15161a2b1840955df814fb9443b84d7852..cac172adce3a06e544483c57acab940e1ee5937d 100644 (file)
--- a/tdb/tdb.h
+++ b/tdb/tdb.h
@@ -25,6 +25,7 @@
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
 #include <signal.h>
 
 /* flags to tdb_store() */
 #include <signal.h>
 
 /* flags to tdb_store() */
index e0bd39e84bb9a15529e3f945ab61e756fa0e5e54..5be3c2515126efb327d2276bbaddfbdb98963597 100644 (file)
--- a/udevdb.c
+++ b/udevdb.c
@@ -24,6 +24,7 @@
 /*
  * udev database library
  */
 /*
  * udev database library
  */
+#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>