dhcpd-pools.h: move string.h to include

Version 2.16 needs the patche to compile correctly and without
warnings (tested on NetBSD, Mac OS X and Debian/Ubuntu).

Signed-off-by: Adam Ciarcinski <adam@netbsd.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-07-20 09:10:22 +02:00
parent e3911bf367
commit bf5375df3f
3 changed files with 7 additions and 7 deletions

1
THANKS
View file

@ -18,3 +18,4 @@ Dominic Germain
Anders Låstad
Thor Eivind Brantzeg
Ahmed AL Dakhil
Adam Ciarcinski

View file

@ -52,6 +52,12 @@ extern char *malloc();
#define EXIT_SUCCESS 0
#endif /* STDC_HEADERS */
#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#endif
#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
# ifdef HAVE___PROGNAME
extern char *__progname;

View file

@ -43,19 +43,12 @@ extern char *malloc();
#define EXIT_SUCCESS 0 /* Successful exit status. */
#endif /* STDC_HEADERS */
#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#endif
#include <arpa/inet.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <features.h>
#include <netinet/in.h>
#include <stddef.h>
#include <stdint.h>