Browse Source

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

Con Kolivas 14 years ago
parent
commit
04b6ec948f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      device-gpu.c

+ 1 - 1
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);