diff --git a/include/main.h b/include/main.h index e7c3b1e..0c396b0 100644 --- a/include/main.h +++ b/include/main.h @@ -4,9 +4,19 @@ #ifdef WIN32 #include // Header file for windows #endif -#include // Header file for standard input/output -#include // Header file for OpenGL32 library -#include // Header file for Glu32 library +#include // Header file for standard input/output +#ifdef WIN32 +#include // Header file for OpenGL32 library +#include // Header file for Glu32 library +#endif +#ifdef __linux +#include // Header file for OpenGL32 library +#include // Header file for Glu32 library +#endif +#ifdef __APPLE__ +#include // Header file for OpenGL32 library +#include // Header file for Glu32 library +#endif #include #include "camera.h" diff --git a/include/tga.h b/include/tga.h index 8fa0805..7a645fe 100644 --- a/include/tga.h +++ b/include/tga.h @@ -4,8 +4,14 @@ #pragma comment(lib, "OpenGL32.lib") #ifdef WIN32 #include //I think this was only needed because gl.h uses it -#endif #include +#endif +#ifdef __linux +#include +#endif +#ifdef __APPLE__ +#include +#endif #include #include #include "texture.h"