mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-28 23:44:30 +00:00
Curses needs to be included before stdbool to compile properly with pdcurses on mingw32.
This commit is contained in:
parent
aa8552a146
commit
04b6ec948f
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <curses.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -31,7 +32,6 @@
|
|||||||
#include "adl.h"
|
#include "adl.h"
|
||||||
|
|
||||||
/* TODO: cleanup externals ********************/
|
/* TODO: cleanup externals ********************/
|
||||||
#include <curses.h>
|
|
||||||
|
|
||||||
extern WINDOW *mainwin, *statuswin, *logwin;
|
extern WINDOW *mainwin, *statuswin, *logwin;
|
||||||
extern void enable_curses(void);
|
extern void enable_curses(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user