]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "sys/types.h: drop sys/sysmacros.h include"
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Feb 2017 16:19:48 +0000 (11:19 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 9 Feb 2017 16:19:48 +0000 (11:19 -0500)
This reverts commit 92bf87d8c4837feaec62958be59c3119b8b4f5ae.

We keep this in the testing version, but once we want to start
stabilizing, we drop it.

posix/sys/types.h

index b3007db0247c2ebc512ab075513f0a93e2fb095a..a7285671bf31a895a76ac68188b5eae120c7a455 100644 (file)
@@ -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.  */