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 #include #include 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 #endif +#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T #include #include #include 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 /* 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 #include #include