summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p')
-rw-r--r--sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p23
1 files changed, 23 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p
new file mode 100644
index 0000000..531da65
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p
@@ -0,0 +1,23 @@
+--- lib/setup.h.old 2012-10-19 21:58:12.000000000 +0100
++++ lib/setup.h 2012-10-19 21:59:17.000000000 +0100
+@@ -312,11 +312,15 @@
+
+ #ifdef __AMIGA__
+ # ifndef __ixemul__
+-# include <exec/types.h>
+-# include <exec/execbase.h>
+-# include <proto/exec.h>
+-# include <proto/dos.h>
+-# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
++# ifdef __amigaos4__
++# include <unistd.h>
++# else
++# include <exec/types.h>
++# include <exec/execbase.h>
++# include <proto/exec.h>
++# include <proto/dos.h>
++# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
++# endif
+ # endif
+ #endif
+