diff --git a/src/common/gamecode/Jamfile b/src/common/gamecode/Jamfile index b7be60f22..0ddecddc4 100644 --- a/src/common/gamecode/Jamfile +++ b/src/common/gamecode/Jamfile @@ -5,6 +5,7 @@ SubDirHdrs $(SUBDIR)/../kernel ; SubDirHdrs $(SUBDIR)/../util ; SubDirHdrs $(SUBDIR)/.. ; SubDirHdrs $(SUBDIR)/../.. ; +SubDirHdrs $(XMLHDRS) ; SOURCES = creation.c diff --git a/src/common/kernel/reports.h b/src/common/kernel/reports.h index 13fa6a3fe..1af04ef88 100644 --- a/src/common/kernel/reports.h +++ b/src/common/kernel/reports.h @@ -95,7 +95,7 @@ typedef struct report_context { void * userdata; } report_context; -typedef int (*report_fun)(FILE * F, report_context * ctx); +typedef int (*report_fun)(const char * filename, report_context * ctx); extern void register_reporttype(const char * extension, report_fun write, int flag); extern void report_item(const struct unit * owner, const struct item * i, const struct faction * viewer, const char ** name, const char ** basename, int * number, boolean singular);