Add headers that ISC software [bind9] needs to include
This commit is contained in:
parent
7e85dcc65c
commit
e878251743
|
@ -0,0 +1,9 @@
|
|||
#ifndef _FD_SETSIZE_H
|
||||
#define _FD_SETSIZE_H
|
||||
|
||||
/*
|
||||
* If you need a bigger FD_SETSIZE, this is NOT the place to set it.
|
||||
* This file is a fallback for BIND ports which don't specify their own.
|
||||
*/
|
||||
|
||||
#endif /* _FD_SETSIZE_H */
|
|
@ -0,0 +1,11 @@
|
|||
#include <sys/cdefs.h>
|
||||
#define NEED_PSELECT
|
||||
#define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b)))
|
||||
#define ISC_SOCKLEN_T socklen_t
|
||||
#define DE_CONST(c,v) v = ((c) ? \
|
||||
strchr((const void *)(c), *(const char *)(const void *)(c)) : NULL)
|
||||
#ifndef lint
|
||||
#define UNUSED(a) (void)&a
|
||||
#else
|
||||
#define UNUSED(a) a = a
|
||||
#endif
|
Loading…
Reference in New Issue