Author: al
Date: 2009-12-30 22:01:59 +0100 (Wed, 30 Dec 2009)
New Revision: 2919

Modified:
   trunk/src/rs-jpeg.c
Log:
Libjpeg workaround when in windows.

Modified: trunk/src/rs-jpeg.c
===================================================================
--- trunk/src/rs-jpeg.c 2009-12-30 20:58:20 UTC (rev 2918)
+++ trunk/src/rs-jpeg.c 2009-12-30 21:01:59 UTC (rev 2919)
@@ -23,9 +23,13 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <jpeglib.h>
 #include "application.h"
 #include "rs-jpeg.h"
+#ifdef WIN32
+#define HAVE_BOOLEAN
+#define _BASETSD_H_
+#endif
+#include <jpeglib.h>
 
 /* This function is an almost verbatim copy from little cms. Thanks Marti, you 
rock! */
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to