]> git.pond.sub.org Git - empserver/commitdiff
Include system headers before ours
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 29 Feb 2008 06:09:34 +0000 (07:09 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:11 +0000 (20:25 +0100)
src/lib/commands/chan.c
src/lib/common/path.c
src/lib/update/finish.c
src/lib/update/human.c
src/lib/update/land.c
src/server/main.c

index bc24fca4b717bf2fbca23112e7cd80eb493f80c1..2dbe393cba70f59a35cf1ee2a72d735fc78fec3c 100644 (file)
 
 #include <config.h>
 
+#include <ctype.h>
 #include "commands.h"
 #include "news.h"
 #include "optlist.h"
-#include <ctype.h>
 
 int
 chan(void)
index b0b8839d5c22cb27e2bade2ee575cd3808574b35..61bf4e7b077785f94b567495eee47ec2ca601339 100644 (file)
@@ -37,6 +37,7 @@
 
 #include <config.h>
 
+#include <stdio.h>
 #include "../as/as.h"
 #include "file.h"
 #include "misc.h"
@@ -45,7 +46,6 @@
 #include "prototypes.h"
 #include "sect.h"
 #include "xy.h"
-#include <stdio.h>
 
 #define        BP_ASHASHSIZE   128     /* A* queue hash table size */
 #define        BP_NEIGHBORS    6       /* max number of neighbors */
index 0725602131d494df344173a2311bd2b3297bc99c..2f6d222de169e5de53cfc9109a3694089f9f651c 100644 (file)
 
 #include <config.h>
 
+#include <stdlib.h>
 #include "distribute.h"
 #include "path.h"
 #include "update.h"
-#include <stdlib.h>
 
 /* Used for building up distribution info */
 struct distinfo {
index 16ff02e16869249780cec60ecd896bef0a03eae0..35b05258fd557650d5513004fa03f725aed229af 100644 (file)
 
 #include <config.h>
 
+#include <math.h>
 #include "budg.h"
 #include "item.h"
 #include "news.h"
 #include "player.h"
 #include "update.h"
 #include "xy.h"
-#include <math.h>
 
 static int growfood(struct sctstr *, short *, int, int);
 static int starve_some(short *, i_type, int);
index 34a749939a5cd270ad2b5bb45a102e9322636e99..d6e79c10b282416817177e23966111d96aeaa48a 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <config.h>
 
+#include <math.h>
 #include "budg.h"
 #include "land.h"
 #include "lost.h"
@@ -44,7 +45,6 @@
 #include "player.h"
 #include "ship.h"
 #include "update.h"
-#include <math.h>
 
 static void landrepair(struct lndstr *, struct natstr *, struct bp *, int);
 static void upd_land(struct lndstr *, int, struct natstr *, struct bp *, int);
index 77cf099944b073bce61a9f409801631a9efbb41f..826eb5525a7a0244e04d746dc03c8c115ffdd5ea 100644 (file)
@@ -40,6 +40,7 @@
 #include <errno.h>
 #include <signal.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #if defined(_WIN32)
 #include <winsock2.h>
@@ -47,7 +48,6 @@
 #include <process.h>
 #include "service.h"
 #endif
-#include <unistd.h>
 
 #include "empio.h"
 #include "empthread.h"