]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "sys/types.h: drop sys/sysmacros.h include"
authorMike Frysinger <vapier@gentoo.org>
Sat, 12 Nov 2016 05:44:04 +0000 (00:44 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 12 Nov 2016 05:44:04 +0000 (00:44 -0500)
This reverts commit 1053a4902ebff0ba30098fdcad614d963de87c3d.

We'll carry this change in the dev version but drop it for stable.

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.  */