From: Neal Gompa Date: Thu, 13 May 2010 01:38:35 +0000 (-0500) Subject: Added extern structure to 'OpenGL_Windows.cpp' and fixed header inclusion order X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=4abde44c7b5737519ca54f220821d4c729e4c9ac;p=lugaru.git Added extern structure to 'OpenGL_Windows.cpp' and fixed header inclusion order --- diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index fabb712..691499f 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -40,10 +40,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Game.h" #else + #include "Game.h" #include #include #include - #include "Game.h" + extern "C" { + #include "zlib.h" + #include "png.h" + #include "jpeglib.h" + } + static bool load_image(const char * fname, TGAImageRec & tex); static bool load_png(const char * fname, TGAImageRec & tex); static bool load_jpg(const char * fname, TGAImageRec & tex);