mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
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:
parent
4c9f177b2e
commit
e299e7fce2
9 changed files with 25 additions and 48 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue