From 3812cde1000238d822def7663caabfb2bc242fc1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 29 Feb 2008 07:09:34 +0100 Subject: [PATCH] Include system headers before ours --- src/lib/commands/chan.c | 2 +- src/lib/common/path.c | 2 +- src/lib/update/finish.c | 2 +- src/lib/update/human.c | 2 +- src/lib/update/land.c | 2 +- src/server/main.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/commands/chan.c b/src/lib/commands/chan.c index bc24fca4..2dbe393c 100644 --- a/src/lib/commands/chan.c +++ b/src/lib/commands/chan.c @@ -33,10 +33,10 @@ #include +#include #include "commands.h" #include "news.h" #include "optlist.h" -#include int chan(void) diff --git a/src/lib/common/path.c b/src/lib/common/path.c index b0b8839d..61bf4e7b 100644 --- a/src/lib/common/path.c +++ b/src/lib/common/path.c @@ -37,6 +37,7 @@ #include +#include #include "../as/as.h" #include "file.h" #include "misc.h" @@ -45,7 +46,6 @@ #include "prototypes.h" #include "sect.h" #include "xy.h" -#include #define BP_ASHASHSIZE 128 /* A* queue hash table size */ #define BP_NEIGHBORS 6 /* max number of neighbors */ diff --git a/src/lib/update/finish.c b/src/lib/update/finish.c index 07256021..2f6d222d 100644 --- a/src/lib/update/finish.c +++ b/src/lib/update/finish.c @@ -35,10 +35,10 @@ #include +#include #include "distribute.h" #include "path.h" #include "update.h" -#include /* Used for building up distribution info */ struct distinfo { diff --git a/src/lib/update/human.c b/src/lib/update/human.c index 16ff02e1..35b05258 100644 --- a/src/lib/update/human.c +++ b/src/lib/update/human.c @@ -35,13 +35,13 @@ #include +#include #include "budg.h" #include "item.h" #include "news.h" #include "player.h" #include "update.h" #include "xy.h" -#include static int growfood(struct sctstr *, short *, int, int); static int starve_some(short *, i_type, int); diff --git a/src/lib/update/land.c b/src/lib/update/land.c index 34a74993..d6e79c10 100644 --- a/src/lib/update/land.c +++ b/src/lib/update/land.c @@ -36,6 +36,7 @@ #include +#include #include "budg.h" #include "land.h" #include "lost.h" @@ -44,7 +45,6 @@ #include "player.h" #include "ship.h" #include "update.h" -#include static void landrepair(struct lndstr *, struct natstr *, struct bp *, int); static void upd_land(struct lndstr *, int, struct natstr *, struct bp *, int); diff --git a/src/server/main.c b/src/server/main.c index 77cf0999..826eb552 100644 --- a/src/server/main.c +++ b/src/server/main.c @@ -40,6 +40,7 @@ #include #include #include +#include #if defined(_WIN32) #include @@ -47,7 +48,6 @@ #include #include "service.h" #endif -#include #include "empio.h" #include "empthread.h"