summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 16:22:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 16:22:36 +0000
commit8d442fa8a90ec24d3567fa40b0e9b0e9da3d182b (patch)
treedce43b55c045b2f33fbb47bcf4ce7b9d0261ca7d /m68k-unknown-amigaos
parent731c61d3891a754692137a9d0ed1c26fd42be9b8 (diff)
downloadtoolchains-8d442fa8a90ec24d3567fa40b0e9b0e9da3d182b.tar.gz
toolchains-8d442fa8a90ec24d3567fa40b0e9b0e9da3d182b.tar.bz2
Make sys/types.h include sys/select.h if necessary, so that fd_set gets defined for clients
svn path=/toolchains/; revision=11133
Diffstat (limited to 'm68k-unknown-amigaos')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p15
1 files changed, 14 insertions, 1 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
index ffecacf..15f4c7d 100644
--- a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
+++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.include.sys.types.h.p
@@ -1,6 +1,19 @@
--- include/sys/types.h 2010-12-29 00:58:25.000000000 +0000
+++ include/sys/types.h 2010-12-29 01:01:33.000000000 +0000
-@@ -65,6 +65,15 @@
+@@ -59,6 +59,12 @@
+
+ /****************************************************************************/
+
++#ifndef _SYS_SELECT_H
++#include <sys/select.h>
++#endif /* _SYS_SELECT_H */
++
++/****************************************************************************/
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+@@ -65,6 +71,15 @@
/****************************************************************************/