Commit 04b6ec948f39ea72b3f7c1631f7ab46402d2a5de

Con Kolivas 2012-02-06T18:41:15

Curses needs to be included before stdbool to compile properly with pdcurses on mingw32.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/device-gpu.c b/device-gpu.c
index ff6c3d6..e05f554 100644
--- a/device-gpu.c
+++ b/device-gpu.c
@@ -12,6 +12,7 @@
 
 #include "config.h"
 
+#include <curses.h>
 #include <string.h>
 #include <stdbool.h>
 #include <stdint.h>
@@ -31,7 +32,6 @@
 #include "adl.h"
 
 /* TODO: cleanup externals ********************/
-#include <curses.h>
 
 extern WINDOW *mainwin, *statuswin, *logwin;
 extern void enable_curses(void);