From 7f74880c966e51ee162c96a3ffb253a4f22aa3a6 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 2 Sep 2012 14:05:23 +0000 Subject: [PATCH] Move #include from polymer.h to polymer.c. git-svn-id: https://svn.eduke32.com/eduke32@2985 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/polymer.h | 1 - polymer/eduke32/build/src/engine.c | 2 +- polymer/eduke32/build/src/polymer.c | 2 ++ polymer/eduke32/build/src/sdlayer.c | 2 +- polymer/eduke32/build/src/winlayer.c | 2 +- polymer/eduke32/source/gameexec.c | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/build/include/polymer.h b/polymer/eduke32/build/include/polymer.h index 3cb354460..460ba7f23 100644 --- a/polymer/eduke32/build/include/polymer.h +++ b/polymer/eduke32/build/include/polymer.h @@ -27,7 +27,6 @@ # include "mdsprite.h" # include "polymost.h" # include "pragmas.h" -# include // CVARS extern int32_t pr_lighting; diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index dc8d854a5..0691548a4 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -42,7 +42,7 @@ # include #endif -#include +#include // pow #include "engine_priv.h" diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index c0bde59cc..e907cc037 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -2,6 +2,8 @@ #ifdef USE_OPENGL +#include + #define POLYMER_C #include "polymer.h" #include "engine_priv.h" diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index 635ca3f72..dc6ce9f3f 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -5,7 +5,7 @@ // Use SDL 1.2 or 1.3 from http://www.libsdl.org #include -#include +#include // pow #include #include "sdl_inc.h" #include "compat.h" diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index b422e0b0b..f9c9b311f 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -11,7 +11,7 @@ #ifndef DIK_PAUSE # define DIK_PAUSE 0xC5 #endif -#include +#include // pow #ifdef _MSC_VER #include diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 6dea15c5b..76ec60e5c 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#include +#include // sqrt #include "duke3d.h" #include "gamedef.h"