summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2012-10-19 22:22:41 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2012-10-19 22:22:41 +0100
commitc496a0595bbef7cd3ad796b59d12189defda79a1 (patch)
treefa42a74efe92b0fe10bf4cf0002174f549e45a97 /sdk/recipes/patches/libcurl/ppc-amigaos/lib.setup.h.p
parent538d44c32f7983c4a2ffe07d3e14def30a2220a9 (diff)
downloadtoolchains-c496a0595bbef7cd3ad796b59d12189defda79a1.tar.gz
toolchains-c496a0595bbef7cd3ad796b59d12189defda79a1.tar.bz2
Update patches for 7.28.0, disable ntlm-wb for ppc-amigaos
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
+