blob: 0c4eb654b3c814b325d8fca60df37c5c63b7e674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
MinGW64 complains when <winsock2.h> is included after <windows.h>
(via include/efont/otfdata.hh).
diff -ur -x Makefile.in -x aclocal.m4 -x autoconf.h.in -x configure lcdf-typetools-2.104.orig/include/config.h lcdf-typetools-2.104/include/config.h
--- lcdf-typetools-2.104.orig/include/config.h 2013-09-17 15:27:20.000000000 +0200
+++ lcdf-typetools-2.104/include/config.h 2014-11-06 11:47:10.000000000 +0100
@@ -6,6 +6,7 @@
/* Allow compilation on Windows (thanks, Fabrice Popineau). */
#ifdef WIN32
# ifdef __MINGW32__
+# include <winsock2.h>
# include <windows.h>
# else
# include <win32lib.h>
|