Commit 90e9164a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix compilation of vncclient with libjpeg on some MingW env

If you don't include basetsd.h, you don't get the right defines
for jmorecfg.h
parent ee6488a5
--- vncserver/libvncclient/rfbproto.c 2012-05-04 16:19:00.000000000 +0200
+++ vncserver/libvncclient/rfbproto.c.new 2013-07-11 14:51:35.951976814 +0200
@@ -50,6 +50,9 @@
#ifdef _RPCNDR_H /* This Windows header typedefs 'boolean', jpeglib has to know */
#define HAVE_BOOLEAN
#endif
+#ifdef WIN32
+#include <basetsd.h>
+#endif
#include <jpeglib.h>
#endif
#include <stdarg.h>
......@@ -15,6 +15,7 @@ $(TARBALLS)/LibVNCServer-$(VNCSERVER_VERSION).tar.gz:
vncserver: LibVNCServer-$(VNCSERVER_VERSION).tar.gz .sum-vncserver
$(UNPACK)
$(APPLY) $(SRC)/vncserver/libvncclient-libjpeg-win32.patch
$(MOVE)
.vncserver: vncserver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment