summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/turbojpeg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/turbojpeg.c b/common/turbojpeg.c
index 11168a2..b3877ec 100644
--- a/common/turbojpeg.c
+++ b/common/turbojpeg.c
@@ -31,12 +31,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <jpeglib.h>
-#include <jerror.h>
#ifndef JCS_EXTENSIONS
-#define JPEG_INTERNALS
-#include <jmorecfg.h>
+#define JPEG_INTERNAL_OPTIONS
#endif
+#include <jpeglib.h>
+#include <jerror.h>
#include <setjmp.h>
#include "./turbojpeg.h"