]> granicus.if.org Git - libjpeg-turbo/commitdiff
MinGW seems to barf unless jinclude.h is included before jpeglib.h
authorDRC <dcommander@users.sourceforge.net>
Wed, 25 May 2011 04:12:52 +0000 (04:12 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 25 May 2011 04:12:52 +0000 (04:12 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@646 632fc199-4ca6-4c93-a231-07263d6284db

bmp.c
turbojpegl.c

diff --git a/bmp.c b/bmp.c
index 5d4c58ff578ce34bc25fcb4391ddb73a59457723..82b2966e61ac24e6922d54ba320b53c3cb38b637 100644 (file)
--- a/bmp.c
+++ b/bmp.c
@@ -30,9 +30,9 @@
 #include <string.h>
 #include <setjmp.h>
 #include <errno.h>
+#include "cdjpeg.h"
 #include <jpeglib.h>
 #include <jpegint.h>
-#include "cdjpeg.h"
 #include "tjutil.h"
 #include "bmp.h"
 
index ba2967c2419e9d847a048a8f12a906f9dcedd4c4..c890bc0a7d155497703db1e94b9f660a50cae45f 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <jinclude.h>
 #define JPEG_INTERNALS
 #include <jpeglib.h>
 #include <jerror.h>
 #include <setjmp.h>
-#include <jinclude.h>
 #include "./turbojpeg.h"
 #include "./tjutil.h"
 #include "transupp.h"