summaryrefslogtreecommitdiff
path: root/io/sys/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/sys/poll.h')
-rw-r--r--io/sys/poll.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/sys/poll.h b/io/sys/poll.h
index e751860acd..58498b0187 100644
--- a/io/sys/poll.h
+++ b/io/sys/poll.h
@@ -27,8 +27,7 @@
/* Get the __sigset_t definition. */
# include <bits/sigset.h>
/* Get the timespec definition. */
-# define __need_timespec
-# include <time.h>
+#include <bits/types/struct_timespec.h>
#endif