Fix compilation with some libjpeg distributions.

pull/1/head
DRC 12 years ago committed by Christian Beier
parent 7cb8fd9b30
commit f35624225b

@ -31,12 +31,11 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <jpeglib.h>
#include <jerror.h>
#ifndef JCS_EXTENSIONS #ifndef JCS_EXTENSIONS
#define JPEG_INTERNALS #define JPEG_INTERNAL_OPTIONS
#include <jmorecfg.h>
#endif #endif
#include <jpeglib.h>
#include <jerror.h>
#include <setjmp.h> #include <setjmp.h>
#include "./turbojpeg.h" #include "./turbojpeg.h"

Loading…
Cancel
Save