summaryrefslogtreecommitdiff
path: root/third_party/tiff_v403/tif_ojpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/tiff_v403/tif_ojpeg.c')
-rw-r--r--third_party/tiff_v403/tif_ojpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/third_party/tiff_v403/tif_ojpeg.c b/third_party/tiff_v403/tif_ojpeg.c
index 281c8e13cd..0a774a526e 100644
--- a/third_party/tiff_v403/tif_ojpeg.c
+++ b/third_party/tiff_v403/tif_ojpeg.c
@@ -215,13 +215,13 @@ static const TIFFField ojpegFields[] = {
# define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
#endif
-#ifndef _FX_JPEG_TURBO_
- #include "../libjpeg/jpeglib.h"
- #include "../libjpeg/jerror.h"
+#if defined(USE_SYSTEM_LIBJPEG)
+#include <jpeglib.h>
+#elif defined(USE_LIBJPEG_TURBO)
+#include "third_party/libjpeg_turbo/jpeglib.h"
#else
- #include "../libjpeg-turbo/jpeglib.h"
- #include "../libjpeg-turbo/jerror.h"
-#endif//_FX_JPEG_TURBO_
+#include "third_party/libjpeg/jpeglib.h"
+#endif
typedef struct jpeg_error_mgr jpeg_error_mgr;
typedef struct jpeg_common_struct jpeg_common_struct;