diff --git a/src/kernel/version.c b/src/kernel/version.c index ca73b77e2..1f8f7e0a7 100644 --- a/src/kernel/version.c +++ b/src/kernel/version.c @@ -3,6 +3,7 @@ #endif #include "version.h" +#include #include #ifndef ERESSEA_VERSION diff --git a/src/orderfile.c b/src/orderfile.c index e9198510e..0ebb7ff2c 100644 --- a/src/orderfile.c +++ b/src/orderfile.c @@ -223,12 +223,6 @@ int read_orders(input *in) return 0; } -static const char * file_getbuf(void *data) -{ - FILE *F = (FILE *)data; - return getbuf(F); -} - typedef struct parser_state { unit *u; faction *f;