From e8f67a9271efd3cb8b93660de27083f1c80579f1 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 31 Aug 2014 11:15:23 +0000 Subject: [PATCH] Fix USE_OPENGL=0 build. git-svn-id: https://svn.eduke32.com/eduke32@4584 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/common.c | 1 + polymer/eduke32/source/m32common.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/common.c b/polymer/eduke32/source/common.c index 15e7a9616..2caf0336e 100644 --- a/polymer/eduke32/source/common.c +++ b/polymer/eduke32/source/common.c @@ -4,6 +4,7 @@ #include "compat.h" #include "build.h" +#include "baselayer.h" #include "grpscan.h" diff --git a/polymer/eduke32/source/m32common.c b/polymer/eduke32/source/m32common.c index 37f2a2908..bd0d55543 100644 --- a/polymer/eduke32/source/m32common.c +++ b/polymer/eduke32/source/m32common.c @@ -3,7 +3,9 @@ #include "keys.h" #include "build.h" #include "cache1d.h" -#include "polymer.h" +#ifdef POLYMER +# include "polymer.h" +#endif #include "editor.h" #include "renderlayer.h"