about summary refs log tree commit diff
path: root/src/signal/sigwaitinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigwaitinfo.c')
-rw-r--r--src/signal/sigwaitinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signal/sigwaitinfo.c b/src/signal/sigwaitinfo.c
index c7b164df..bb51f8b5 100644
--- a/src/signal/sigwaitinfo.c
+++ b/src/signal/sigwaitinfo.c
@@ -1,7 +1,6 @@
 #include <signal.h>
-#include <stddef.h>
 
 int sigwaitinfo(const sigset_t *restrict mask, siginfo_t *restrict si)
 {
-	return sigtimedwait(mask, si, NULL);
+	return sigtimedwait(mask, si, 0);
 }