From 25328d2a6253c6a547c4684ca4e7b2384c60bb2d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 29 Dec 2013 08:38:19 +0100 Subject: [PATCH] fix curses compilation underncurses. will have to devise some other hack to fix windows --- core/src/bindings/bind_gmtool.c | 5 +---- core/src/gmtool.c | 4 +--- core/src/util/listbox.c | 5 +---- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/core/src/bindings/bind_gmtool.c b/core/src/bindings/bind_gmtool.c index 7e06a2ddc..bb0e89d14 100644 --- a/core/src/bindings/bind_gmtool.c +++ b/core/src/bindings/bind_gmtool.c @@ -1,10 +1,7 @@ +#include #include #include -#undef bool -#include -#include - #include "bind_gmtool.h" #include "../gmtool.h" #include "../gmtool_structs.h" diff --git a/core/src/gmtool.c b/core/src/gmtool.c index 3dc89fa75..cc9ba43f5 100644 --- a/core/src/gmtool.c +++ b/core/src/gmtool.c @@ -8,10 +8,8 @@ * */ -/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */ -#include -#undef bool #include +#include #include #include diff --git a/core/src/util/listbox.c b/core/src/util/listbox.c index 7f056bfc2..48e393baa 100644 --- a/core/src/util/listbox.c +++ b/core/src/util/listbox.c @@ -9,13 +9,10 @@ */ /* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */ +#include #include #include -#undef bool -#include -#include - #include "listbox.h" #include "gmtool_structs.h"