summaryrefslogtreecommitdiff
path: root/socket/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 6f242d088b..e9a0b03c24 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -36,6 +36,10 @@ __BEGIN_DECLS
# include <bits/types/struct_osockaddr.h>
#endif
+#ifdef __USE_GNU
+# include <bits/types/struct_timespec.h>
+#endif
+
/* The following constants should be used for the second parameter of
`shutdown'. */
enum