From 48a558e35742a0a27eed75e00bc52bcaad5f5d2b Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 4 May 2011 23:28:48 -0400 Subject: [PATCH] [sm130futures] Forgot non windows exclusive code. --- src/RageSurface_Load_JPEG.cpp | 4 ++-- src/RageSurface_Load_PNG.cpp | 2 +- src/RageSurface_Save_PNG.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/RageSurface_Load_JPEG.cpp b/src/RageSurface_Load_JPEG.cpp index 50698fbcde..2ffeca29da 100644 --- a/src/RageSurface_Load_JPEG.cpp +++ b/src/RageSurface_Load_JPEG.cpp @@ -21,8 +21,8 @@ #pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */ #else extern "C" { -#include -#include +#include <../extern/libjpeg/jpeglib.h> +#include <../extern/libjpeg/jerror.h> } #endif diff --git a/src/RageSurface_Load_PNG.cpp b/src/RageSurface_Load_PNG.cpp index 35752c8456..875920f8d4 100644 --- a/src/RageSurface_Load_PNG.cpp +++ b/src/RageSurface_Load_PNG.cpp @@ -13,7 +13,7 @@ # pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */ # endif // _MSC_VER #else -# include +# include <../extern/libpng/include/png.h> #endif namespace diff --git a/src/RageSurface_Save_PNG.cpp b/src/RageSurface_Save_PNG.cpp index 3be6bc7eca..e94101dece 100644 --- a/src/RageSurface_Save_PNG.cpp +++ b/src/RageSurface_Save_PNG.cpp @@ -13,7 +13,7 @@ #pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */ #endif #else -#include +#include <../extern/libpng/include/png.h> #endif static void SafePngError( png_struct *pPng, const RString &sStr )