summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 56dfa61..4232c38 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -20,6 +20,12 @@
#include <netdb.h>
#include <setjmp.h>
#include <signal.h>
+#if defined __UCLIBC__ /* TODO: and glibc? */
+/* use inlined versions of these: */
+# define sigfillset(s) __sigfillset(s)
+# define sigemptyset(s) __sigemptyset(s)
+# define sigisemptyset(s) __sigisemptyset(s)
+#endif
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>