slackbuilds_ponce/multimedia/xbmc/patches/jpegint_h.patch
Larry Hajali b4928b094c multimedia/xbmc: Added (Multi-platform Media Center)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2010-06-14 14:32:26 -05:00

17 lines
594 B
Diff

diff -Naur XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c
--- XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c 2009-05-26 22:38:28.000000000 +0000
+++ XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c 2009-09-08 00:55:37.000000000 +0000
@@ -31,11 +31,9 @@
#endif
#define JPEG_INTERNALS /* Include "jpegint.h" for "DSTATE_*" symbols */
#undef INLINE
-#ifdef _LINUX
-#include <jpeglib.h>
-#else
+#ifdef _LINUX
#include "../jpeg/jpeglib.h"
-#endif
+#endif
#undef JPEG_INTERNALS
/* Hack for Microsoft's Wang Imaging for Windows output files */