summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-09 11:19:48 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-09 11:19:48 -0500
commit764c430aa0c6af6181d5834bcb20d8ea99562992 (patch)
tree86b4626b94986254f1ad3a49200564fe8b624b66
parent27a54a0980cb30f7d3fd930d540c8cd10e2cccd0 (diff)
downloadglibc-764c430aa0c6af6181d5834bcb20d8ea99562992.tar.gz
Revert "sys/types.h: drop sys/sysmacros.h include"
This reverts commit 92bf87d8c4837feaec62958be59c3119b8b4f5ae. We keep this in the testing version, but once we want to start stabilizing, we drop it.
-rw-r--r--posix/sys/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index b3007db024..a7285671bf 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -217,6 +217,9 @@ typedef int register_t __attribute__ ((__mode__ (__word__)));
/* It also defines `fd_set' and the FD_* macros for `select'. */
# include <sys/select.h>
+
+/* BSD defines these symbols, so we follow. */
+# include <sys/sysmacros.h>
#endif /* Use misc. */