From 4abde44c7b5737519ca54f220821d4c729e4c9ac Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 12 May 2010 20:38:35 -0500 Subject: [PATCH] Added extern structure to 'OpenGL_Windows.cpp' and fixed header inclusion order --- Source/OpenGL_Windows.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); -- 2.39.5