aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-io.c')
-rw-r--r--fiv-io.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/fiv-io.c b/fiv-io.c
index 592e134..266e139 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -27,20 +27,22 @@
#include <webp/encode.h>
#include <webp/mux.h>
-// Colour management must be handled before RGB conversions.
-#ifdef HAVE_LCMS2
-#include <lcms2.h>
-#endif // HAVE_LCMS2
-
#ifdef HAVE_JPEG_QS
-#include <jpeglib.h>
#include <setjmp.h>
+#include <stdio.h>
+
+#include <jpeglib.h>
// This library is tricky to build, simply make it work at all.
#define NO_SIMD
#include <jpeg-quantsmooth/quantsmooth.h>
#undef NO_SIMD
#endif // HAVE_JPEG_QS
+// Colour management must be handled before RGB conversions.
+#ifdef HAVE_LCMS2
+#include <lcms2.h>
+#endif // HAVE_LCMS2
+
#ifdef HAVE_LIBRAW
#include <libraw.h>
#endif // HAVE_LIBRAW