mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 07:47:00 +00:00
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:
parent
e3911bf367
commit
f2d86d9a83
3 changed files with 7 additions and 7 deletions
1
THANKS
1
THANKS
|
|
@ -18,3 +18,4 @@ Dominic Germain
|
|||
Anders Låstad
|
||||
Thor Eivind Brantzeg
|
||||
Ahmed AL Dakhil
|
||||
Adam Ciarcinski
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue