diff --git a/src/cc/cclib.cpp b/src/cc/cclib.cpp index 65c706862..95748def4 100644 --- a/src/cc/cclib.cpp +++ b/src/cc/cclib.cpp @@ -692,6 +692,7 @@ int32_t cclib_parsehash(uint8_t *hash32,cJSON *item,int32_t len) #elif BUILD_GAMESCC #include "gamescc.cpp" +#include "rogue/cursesd.c" #else #include "sudoku.cpp" diff --git a/src/cc/gamescc.cpp b/src/cc/gamescc.cpp index 4b5dca4f5..3415c3eb7 100644 --- a/src/cc/gamescc.cpp +++ b/src/cc/gamescc.cpp @@ -1685,7 +1685,6 @@ void games_packitemstr(char *packitemstr,struct games_packitem *item) #ifdef BUILD_GAMES #include "cursesd.h" -#include "rogue/cursesd.c" #else #include #endif @@ -2433,7 +2432,7 @@ void init_colors(void) /* Main tetris game! */ -#ifndef STANDALONE +#ifdef STANDALONE int main(int argc, char **argv) {