Include system headers before ours

This commit is contained in:
Markus Armbruster 2008-02-29 07:09:34 +01:00
parent 61d632fc96
commit 3812cde100
6 changed files with 6 additions and 6 deletions

View file

@ -33,10 +33,10 @@
#include <config.h>
#include <ctype.h>
#include "commands.h"
#include "news.h"
#include "optlist.h"
#include <ctype.h>
int
chan(void)

View 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 */

View file

@ -35,10 +35,10 @@
#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 {

View file

@ -35,13 +35,13 @@
#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);

View 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);

View 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"