diff options
Diffstat (limited to '0005-sock-jpip.all.patch')
-rw-r--r-- | 0005-sock-jpip.all.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/0005-sock-jpip.all.patch b/0005-sock-jpip.all.patch new file mode 100644 index 000000000000..307890aa1ffd --- /dev/null +++ b/0005-sock-jpip.all.patch @@ -0,0 +1,21 @@ +--- openjpeg-2.1.0/src/lib/openjpip/sock_manager.c.orig 2014-04-29 07:15:01.000000000 +0000 ++++ openjpeg-2.1.0/src/lib/openjpip/sock_manager.c 2014-07-29 15:35:10.066130700 +0000 +@@ -28,13 +28,17 @@ + * POSSIBILITY OF SUCH DAMAGE. + */ + +-#ifdef _WIN32 ++#ifdef _MSC_VER + #include <windows.h> + typedef SSIZE_T ssize_t; + #else + #include <sys/types.h> ++#ifdef _WIN32 ++#include <ws2tcpip.h> ++#else + #include <sys/socket.h> + #include <arpa/inet.h> ++#endif + #include <unistd.h> + #endif + |