summaryrefslogtreecommitdiffstats
path: root/src/libssh2-1-fixes.patch
diff options
context:
space:
mode:
authorPaul Crown <develop@computerdataprocessors.com>2011-10-20 15:34:14 (GMT)
committerPaul Crown <develop@computerdataprocessors.com>2011-10-20 15:34:14 (GMT)
commit48190805b3d7cc4658582d5fa702997783cb170d (patch)
tree4f4df998ceadbb52e41da17c35483dfa6ce6c8ae /src/libssh2-1-fixes.patch
parentdcc426568ed4a3e8f960543aaecc78ef6960f8ff (diff)
downloadmxe-48190805b3d7cc4658582d5fa702997783cb170d.zip
mxe-48190805b3d7cc4658582d5fa702997783cb170d.tar.gz
mxe-48190805b3d7cc4658582d5fa702997783cb170d.tar.bz2
new package: libssh2
Diffstat (limited to 'src/libssh2-1-fixes.patch')
-rw-r--r--src/libssh2-1-fixes.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libssh2-1-fixes.patch b/src/libssh2-1-fixes.patch
new file mode 100644
index 0000000..11bc32d
--- /dev/null
+++ b/src/libssh2-1-fixes.patch
@@ -0,0 +1,19 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+diff -Naur libssh2-1.3.0.orig/include/libssh2.h libssh2-1.3.0/include/libssh2.h
+--- libssh2-1.3.0.orig/include/libssh2.h 2011-09-06 15:56:34.000000000 -0500
++++ libssh2-1.3.0/include/libssh2.h 2011-10-17 10:10:13.000000000 -0500
+@@ -88,8 +88,8 @@
+ extern "C" {
+ #endif
+ #ifdef _WIN32
+-# include <BaseTsd.h>
+-# include <WinSock2.h>
++# include <basetsd.h>
++# include <winsock2.h>
+ #endif
+
+ #include <stddef.h>