summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-28 20:17:02 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-28 20:17:02 +0000
commit36ea272a37825e15ed5e57b4ebc193b624868bce (patch)
treec97675a4e252be52fa3d862d109ab1212872b831 /image
parentb3ba443c643946af8a69ccd31c7245b9fa19b53a (diff)
downloadnetsurf-36ea272a37825e15ed5e57b4ebc193b624868bce.tar.gz
netsurf-36ea272a37825e15ed5e57b4ebc193b624868bce.tar.bz2
change include ordering to ensure all types are available on all platforms
svn path=/trunk/netsurf/; revision=9926
Diffstat (limited to 'image')
-rw-r--r--image/jpeg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/image/jpeg.c b/image/jpeg.c
index ec93f7c73..e96faaa67 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -34,15 +34,18 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#define JPEG_INTERNAL_OPTIONS
-#include "jpeglib.h"
+
#include "desktop/plotters.h"
#include "image/bitmap.h"
-#include "image/jpeg.h"
+
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
+#define JPEG_INTERNAL_OPTIONS
+#include "jpeglib.h"
+#include "image/jpeg.h"
+
#ifdef riscos
/* We prefer the library to be configured with these options to save
* copying data during decoding. */