diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2012-07-02 07:26:07 -0600 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-07-02 15:27:17 +0200 |
commit | 4e06bafe801223de132ca043a3f2e0baaf803ed4 (patch) | |
tree | 5f92fa4d44c97614235fa73d9633884f319637b1 /curl/curl-7.26.0_mingw.patch | |
parent | c34ef6b710bd9f3a5beac3be856c970c70e68610 (diff) |
Try to fix Windows build of curl
Change-Id: Ifd760cf91ef6c9afe10a110e9b8db2dcc53fd3c8
Diffstat (limited to 'curl/curl-7.26.0_mingw.patch')
-rw-r--r-- | curl/curl-7.26.0_mingw.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/curl/curl-7.26.0_mingw.patch b/curl/curl-7.26.0_mingw.patch new file mode 100644 index 000000000000..54d1ef3d0036 --- /dev/null +++ b/curl/curl-7.26.0_mingw.patch @@ -0,0 +1,24 @@ +--- misc/curl-7.26.0/lib/setup.h 2009-10-29 05:21:58.000000000 +0900 ++++ misc/build/curl-7.26.0/lib/setup.h 2010-03-02 06:03:10.009500000 +0900 +@@ -40,6 +40,21 @@ + + #include "curl_config.h" + ++#ifdef __MINGW32__ ++#undef HAVE_DLFCN_H ++#define HAVE_GETHOSTBYADDR 1 ++#define HAVE_GETHOSTBYNAME 1 ++#undef HAVE_LIBZ ++#undef HAVE_NETDB_H ++#undef HAVE_POLL_H ++#undef HAVE_SYS_IOCTL_H ++#undef HAVE_SYS_POLL_H ++#undef HAVE_SYS_UIO_H ++#undef HAVE_TERMIOS_H ++#undef HAVE_TERMIO_H ++#undef HAVE_ZLIB_H ++#endif ++ + #else /* HAVE_CONFIG_H */ + + #ifdef _WIN32_WCE |