summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>