fix curses compilation underncurses.

will have to devise some other hack to fix windows
This commit is contained in:
Enno Rehling 2013-12-29 08:38:19 +01:00
parent 47a9728db9
commit 25328d2a62
3 changed files with 3 additions and 11 deletions

View File

@ -1,10 +1,7 @@
#include <curses.h>
#include <platform.h>
#include <kernel/types.h>
#undef bool
#include <curses.h>
#include <util/bool.h>
#include "bind_gmtool.h"
#include "../gmtool.h"
#include "../gmtool_structs.h"

View File

@ -8,10 +8,8 @@
*
*/
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <platform.h>
#undef bool
#include <curses.h>
#include <platform.h>
#include <util/bool.h>
#include <kernel/config.h>

View File

@ -9,13 +9,10 @@
*/
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <curses.h>
#include <platform.h>
#include <kernel/config.h>
#undef bool
#include <curses.h>
#include <util/bool.h>
#include "listbox.h"
#include "gmtool_structs.h"