The FD_ISSET macro and fd_set are defined in sys/select.h --- src/prog/display-buttons.c 2012-10-26 23:21:38.000000000 +0200 +++ src/prog/display-buttons.c 2015-06-22 15:40:19.594034730 +0200 @@ -36,7 +36,8 @@ #include /* printf() */ #include /* time() */ #include /* errno */ -#include /* gpm information */ +#include /* FD_ISSET */ +#include "headers/gpm.h" /* gpm information */ /* display resulting data */ int display_data(Gpm_Event *event, void *data) --- src/prog/display-coords.c 2012-10-26 23:21:38.000000000 +0200 +++ src/prog/display-coords.c 2015-06-22 15:41:05.433032252 +0200 @@ -37,7 +37,8 @@ #include /* printf() */ #include /* time() */ #include /* errno */ -#include /* gpm information */ +#include /* FD_ISSET */ +#include "headers/gpm.h" /* gpm information */ /* display resulting data */ int display_data(Gpm_Event *event, void *data) --- src/prog/open_console.c 2012-10-26 23:21:38.000000000 +0200 +++ src/prog/open_console.c 2015-06-22 15:40:35.002033897 +0200 @@ -22,6 +22,7 @@ #include "headers/message.h" /* messaging in gpm */ #include "headers/daemon.h" /* daemon internals */ #include +#include int open_console(const int mode) {