Mon, 24 Aug 2026 14:43:33 +0200
remove unnecessary fen.h include in main.c
| src/Makefile | file | annotate | diff | comparison | revisions | |
| src/main.c | file | annotate | diff | comparison | revisions |
--- a/src/Makefile Mon Aug 24 14:38:15 2026 +0200 +++ b/src/Makefile Mon Aug 24 14:43:33 2026 +0200 @@ -50,7 +50,7 @@ $(CC) -o $@ $(CFLAGS) -c $< $(BUILDDIR)/main.o: main.c chess/rules.h chess/pgn.h chess/rules.h \ - chess/fen.h input.h network.h colors.h + input.h network.h colors.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $<
--- a/src/main.c Mon Aug 24 14:38:15 2026 +0200 +++ b/src/main.c Mon Aug 24 14:43:33 2026 +0200 @@ -31,18 +31,17 @@ #include "chess/rules.h" #include "chess/pgn.h" -#include "chess/fen.h" #include "input.h" #include "network.h" #include "colors.h" #include <string.h> #include <time.h> -#include <getopt.h> #include <locale.h> #include <sys/stat.h> #include <signal.h> #include <errno.h> #include <unistd.h> +#include <getopt.h> typedef struct { /**