diff options
author | DRC <information@virtualgl.org> | 2012-04-25 01:13:04 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-25 01:13:04 +0200 |
commit | f35624225b1d2c5ed11d7c47439810aa1d9a4afe (patch) | |
tree | d2bdc248ea116e97f942f3bc84c8543c06ddac27 | |
parent | 7cb8fd9b30e80ecf9bab98746c590d6b5578c929 (diff) | |
download | libtdevnc-f35624225b1d2c5ed11d7c47439810aa1d9a4afe.tar.gz libtdevnc-f35624225b1d2c5ed11d7c47439810aa1d9a4afe.zip |
Fix compilation with some libjpeg distributions.
-rw-r--r-- | common/turbojpeg.c | 7 |
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" |