summaryrefslogtreecommitdiff
path: root/libc/unistd/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/sleep.c')
-rw-r--r--libc/unistd/sleep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/unistd/sleep.c b/libc/unistd/sleep.c
index 481e635a2..438f5e282 100644
--- a/libc/unistd/sleep.c
+++ b/libc/unistd/sleep.c
@@ -20,8 +20,13 @@
#include <errno.h>
#include <time.h>
-#include <signal.h>
#include <unistd.h>
+/* Want fast and small __sigemptyset/__sigaddset/__sigismember: */
+/* TODO: make them available (to everybody) without this hack */
+#ifndef __USE_EXTERN_INLINES
+# define __USE_EXTERN_INLINES 1
+#endif
+#include <signal.h>