X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=main.c;h=ec4df57cdf0e356223ab6ab49746762a21d87fc9;hb=be3167c9e0220a4ee3e8b5c5f813fb2627d1ce55;hp=218793a0f7005bf5d352faa0ed85c7d80b4fb058;hpb=2941984be26cee5bbb0757ed20172035ed06d2f4;p=pgn-extract diff --git a/main.c b/main.c index 218793a..ec4df57 100644 --- a/main.c +++ b/main.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "bool.h" #include "mymalloc.h" #include "defs.h" @@ -106,6 +107,8 @@ StateInfo GlobalState = { "MATCH", /* position_match_comment (--markpositionmatches) */ (char *)NULL, /* current_input_file */ NORMALFILE, /* current_file_type */ + 0, /* start_position */ + LONG_MAX, /* end_position */ DEFAULT_ECO_FILE, /* eco_file (-e) */ (FILE *)NULL, /* outputfile (-o, -a). Default is stdout */ (char *)NULL, /* output_filename (-o, -a) */