This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH v3 22/24] Revert "Remove inclusion of sys/select.h in sys/types.h for backward compat"
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Mon, 14 Mar 2016 22:10:29 -0500
- Subject: [PATCH v3 22/24] Revert "Remove inclusion of sys/select.h in sys/types.h for backward compat"
- Authentication-results: sourceware.org; auth=none
- References: <1458011431-9460-1-git-send-email-yselkowi at redhat dot com>
This BSDism is still in use (e.g. putty).
This reverts commit 088f7a723962dd18dcae09e8e8fa168bbea6ed0b.
---
newlib/libc/include/sys/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 65e7b9b..c9f0fc7 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -86,6 +86,8 @@ typedef quad_t * qaddr_t;
# if __BSD_VISIBLE
+#include <sys/select.h>
+
# define physadr physadr_t
# define quad quad_t
--
2.7.0