From e006d8a4d0d2911c14577df8c9ba3ff41089dfce Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 18 Nov 2005 23:42:11 +0000 Subject: [PATCH] smallish compile-fixes for linux --- src/common/gamecode/Jamfile | 1 + src/common/kernel/reports.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);