Break inclusion cycle: prototypes.h and commands.h included each

other.  Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special).  New header types.h to
help avoid inclusion cycles.  Sort include directives.  Remove some
superflous includes.
This commit is contained in:
Markus Armbruster 2006-07-10 06:37:23 +00:00
parent 16a0869bb0
commit e42053d928
373 changed files with 1193 additions and 2516 deletions

View file

@ -29,24 +29,25 @@
*
* Known contributors to this file:
* Steve McClure, 2000
*
*/
#include <config.h>
#include <stdarg.h>
#include "misc.h"
#include <fcntl.h>
#include <stdarg.h>
#include <stdlib.h>
#if !defined(_WIN32)
#include <unistd.h>
#include <sys/uio.h>
#endif
#include "nat.h"
#include "tel.h"
#include "file.h"
#include "player.h"
#include "server.h"
#include "misc.h"
#include "nat.h"
#include "optlist.h"
#include "player.h"
#include "prototypes.h"
#include "server.h"
#include "tel.h"
static struct telstr last_tel[MAXNOC];