Add headers that ISC software [bind9] needs to include

This commit is contained in:
christos 2004-05-20 22:26:22 +00:00
parent 7e85dcc65c
commit e878251743
3 changed files with 20 additions and 0 deletions

View File

@ -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 */

View File

View File

@ -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