From 956698079b588b0d9bf0dc1401902f1d9dc4f5f7 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Thu, 3 Jun 2004 08:02:27 +0000 Subject: [PATCH] Fix Linux compile due to C include in C++ code. --- stepmania/src/RageSurface_Load_JPEG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/RageSurface_Load_JPEG.cpp b/stepmania/src/RageSurface_Load_JPEG.cpp index da1714467c..160de40159 100644 --- a/stepmania/src/RageSurface_Load_JPEG.cpp +++ b/stepmania/src/RageSurface_Load_JPEG.cpp @@ -17,8 +17,10 @@ #pragma comment(lib, "libjpeg/jpeg.lib") #pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */ #else +extern "C" { #include #include +} #endif struct my_jpeg_error_mgr