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.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/io/sys/poll.h b/io/sys/poll.h
index e751860acd..68f68ca412 100644
--- a/io/sys/poll.h
+++ b/io/sys/poll.h
@@ -1,5 +1,5 @@
/* Compatibility definitions for System V `poll' interface.
- Copyright (C) 1994-2016 Free Software Foundation, Inc.
+ Copyright (C) 1994-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,11 +24,8 @@
/* Get the platform dependent bits of `poll'. */
#include <bits/poll.h>
#ifdef __USE_GNU
-/* Get the __sigset_t definition. */
-# include <bits/sigset.h>
-/* Get the timespec definition. */
-# define __need_timespec
-# include <time.h>
+# include <bits/types/__sigset_t.h>
+# include <bits/types/struct_timespec.h>
#endif