summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDRC <information@virtualgl.org>2012-04-25 01:13:04 +0200
committerChristian Beier <dontmind@freeshell.org>2012-04-25 01:13:04 +0200
commitf35624225b1d2c5ed11d7c47439810aa1d9a4afe (patch)
treed2bdc248ea116e97f942f3bc84c8543c06ddac27 /common
parent7cb8fd9b30e80ecf9bab98746c590d6b5578c929 (diff)
downloadlibtdevnc-f35624225b1d2c5ed11d7c47439810aa1d9a4afe.tar.gz
libtdevnc-f35624225b1d2c5ed11d7c47439810aa1d9a4afe.zip
Fix compilation with some libjpeg distributions.
Diffstat (limited to 'common')
-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"