headers: include-what-you-use fixes

Usage of includes are set up the way found to be in use, with a help of
magnificent utility.

http://code.google.com/p/include-what-you-use/

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-06-08 20:59:56 +02:00
parent 4c9f177b2e
commit e299e7fce2
9 changed files with 25 additions and 48 deletions

View file

@ -19,16 +19,18 @@
# define DHCPD_POOLS_H 1
#include <config.h>
#include <stddef.h>
/* Feature test switches */
#define _POSIX_SOURCE 1
#define POSIXLY_CORRECT 1
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#else
extern void exit();
extern char *malloc();
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#endif /* STDC_HEADERS */
#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME