summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-07-22 23:08:58 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-07-22 23:08:58 +0100
commit91eb92a4236997cefd4fcaf78409a5f70f14fe03 (patch)
tree1f8028308923714d7db3d85a38a46b4e4b759043 /sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p
parent250ab6271092b16649cdb7010035cbaa67bc5e0b (diff)
downloadtoolchains-91eb92a4236997cefd4fcaf78409a5f70f14fe03.tar.gz
toolchains-91eb92a4236997cefd4fcaf78409a5f70f14fe03.tar.bz2
fix mingw build
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p')
-rw-r--r--sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p18
1 files changed, 18 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p
new file mode 100644
index 0000000..846e19c
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/ppc-amigaos/src.main.c.p
@@ -0,0 +1,18 @@
+--- src/main.c.old 2010-12-29 16:18:04.000000000 +0000
++++ src/main.c 2010-12-29 16:17:51.000000000 +0000
+@@ -64,6 +64,15 @@
+ #endif
+ #endif
+
++#ifdef __AMIGA__
++ #ifdef __amigaos4__
++ #ifndef __USE_INLINE__
++ #define __USE_INLINE__
++ #endif
++ #endif
++#include <proto/dos.h>
++#endif
++
+ #include "version.h"
+
+ #ifdef HAVE_IO_H /* typical win32 habit */