Updated versions of header files generated per the instructions
in src/contrib/bind9/FREEBSD-Upgrade for the 9.2.3 import
This commit is contained in:
parent
4c84b65cf3
commit
5356ece7af
@ -4,6 +4,8 @@
|
||||
/* #undef _SOCKADDR_LEN */
|
||||
#define HAVE_FCNTL_H 1
|
||||
#define HAVE_PATHS_H 1
|
||||
#define HAVE_INTTYPES_H 1
|
||||
/* #undef HAVE_STROPTS_H */
|
||||
#define HAVE_SYS_TIMERS_H 1
|
||||
/* #undef SYS_CDEFS_H */
|
||||
/* #undef _POSIX_PTHREAD_SEMANTICS */
|
||||
@ -38,6 +40,8 @@
|
||||
|
||||
#define HAS_PW_CLASS 1
|
||||
|
||||
/* #undef uintptr_t */
|
||||
|
||||
/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
|
||||
/* #undef SHUTUP_SPUTAUX */
|
||||
#ifdef SHUTUP_SPUTAUX
|
||||
|
@ -10,6 +10,9 @@
|
||||
#if (!defined(BSD)) || (BSD < 199306)
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#undef NEED_PSELECT
|
||||
#define HAVE_SA_LEN 1
|
||||
@ -29,8 +32,6 @@
|
||||
#undef INNETGR_ARGS
|
||||
#undef SETNETGRENT_ARGS
|
||||
#define USE_IFNAMELINKID 1
|
||||
|
||||
/* XXX sunos and cygwin needs O_NDELAY */
|
||||
#define PORT_NONBLOCK O_NONBLOCK
|
||||
|
||||
/*
|
||||
@ -88,6 +89,19 @@ struct sockaddr_in6 {
|
||||
#undef IN6ADDR_LOOPBACK_INIT
|
||||
#endif
|
||||
|
||||
#ifdef _AIX
|
||||
#ifndef IN6ADDR_ANY_INIT
|
||||
#define IN6ADDR_ANY_INIT {{{ 0, 0, 0, 0 }}}
|
||||
#endif
|
||||
#ifndef IN6ADDR_LOOPBACK_INIT
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#define IN6ADDR_LOOPBACK_INIT {{{ 0, 0, 0, 1 }}}
|
||||
#else
|
||||
#define IN6ADDR_LOOPBACK_INIT {{{0, 0, 0, 0x01000000}}}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef IN6ADDR_ANY_INIT
|
||||
#ifdef s6_addr
|
||||
#define IN6ADDR_ANY_INIT \
|
||||
@ -244,7 +258,7 @@ char * strsep(char **stringp, const char *delim);
|
||||
#endif
|
||||
|
||||
#ifndef ALIGN
|
||||
#define ALIGN(p) (((unsigned int)(p) + (sizeof(int) - 1)) & ~(sizeof(int) - 1))
|
||||
#define ALIGN(p) (((uintptr_t)(p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
|
||||
#endif
|
||||
|
||||
#ifdef NEED_SETGROUPENT
|
||||
@ -287,7 +301,7 @@ GROUP_R_SET_RETURN setgrent_r(GROUP_R_ENT_ARGS);
|
||||
GROUP_R_END_RETURN endgrent_r(GROUP_R_ENT_ARGS);
|
||||
#endif
|
||||
|
||||
#ifdef NEED_INNETGR_R
|
||||
#if defined(NEED_INNETGR_R) && defined(NGR_R_RETURN)
|
||||
NGR_R_RETURN
|
||||
innetgr_r(const char *, const char *, const char *, const char *);
|
||||
#endif
|
||||
@ -370,7 +384,9 @@ int isc__gettimeofday(struct timeval *tp, struct timezone *tzp);
|
||||
|
||||
int getnetgrent(char **machinep, char **userp, char **domainp);
|
||||
|
||||
#ifdef NGR_R_ARGS
|
||||
int getnetgrent_r(char **machinep, char **userp, char **domainp, NGR_R_ARGS);
|
||||
#endif
|
||||
|
||||
#ifdef SETNETGRENT_ARGS
|
||||
void setnetgrent(SETNETGRENT_ARGS);
|
||||
|
@ -20,8 +20,11 @@ struct timezone; /* silence warning */
|
||||
#undef WANT_IRS_PW
|
||||
|
||||
#undef BSD_COMP
|
||||
#undef HAVE_POLL
|
||||
#undef HAVE_MD5
|
||||
#undef SOLARIS2
|
||||
|
||||
#define DO_PTHREADS 1
|
||||
#undef DO_PTHREADS
|
||||
#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, int *ngroups
|
||||
#define GETNETBYADDR_ADDR_T long
|
||||
#define SETPWENT_VOID 1
|
||||
@ -137,4 +140,9 @@ struct timezone; /* silence warning */
|
||||
#define ISC_FORMAT_PRINTF(fmt, args)
|
||||
#endif
|
||||
|
||||
/* Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. */
|
||||
#if defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
|
||||
#include <sys/byteorder.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -149,9 +149,6 @@ int sigwait(const unsigned int *set, int *sig);
|
||||
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
|
||||
/* #undef NEED_PTHREAD_SCOPE_SYSTEM */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
/* #undef HAVE_DLFCN_H */
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
@ -227,6 +224,9 @@ int sigwait(const unsigned int *set, int *sig);
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Defined if extern char *optarg is not declared. */
|
||||
/* #undef NEED_OPTARG */
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
@ -242,12 +242,20 @@ int sigwait(const unsigned int *set, int *sig);
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Sets which flag to pass to open/fcntl to make non-blocking
|
||||
(O_NDELAY/O_NONBLOCK). */
|
||||
#define PORT_NONBLOCK O_NONBLOCK
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Defined if you need to use ioctl(FIONBIO) instead a fcntl call to make
|
||||
non-blocking. */
|
||||
/* #undef USE_FIONBIO_IOCTL */
|
||||
|
||||
/* Define to 1 if your processor stores words with the most significant byte
|
||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
/* #undef WORDS_BIGENDIAN */
|
||||
@ -255,14 +263,15 @@ int sigwait(const unsigned int *set, int *sig);
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
||||
if it is not supported. */
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef ssize_t */
|
||||
|
||||
/* Define to `unsigned long' if <sys/types.h> does not define. */
|
||||
/* #undef uintptr_t */
|
||||
|
@ -91,7 +91,7 @@
|
||||
/*
|
||||
* If this system needs inet_pton(), ISC_PLATFORM_NEEDPTON will be defined.
|
||||
*/
|
||||
#define ISC_PLATFORM_NEEDPTON 1
|
||||
#undef ISC_PLATFORM_NEEDPTON
|
||||
|
||||
/*
|
||||
* If this system needs inet_aton(), ISC_PLATFORM_NEEDATON will be defined.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
@ -90,6 +90,16 @@
|
||||
*/
|
||||
#undef LWRES_PLATFORM_NEEDSPRINTF
|
||||
|
||||
/*
|
||||
* The printf format string modifier to use with lwres_uint64_t values.
|
||||
*/
|
||||
#define LWRES_PLATFORM_QUADFORMAT "ll"
|
||||
|
||||
/*! \brief
|
||||
* Define if this system needs strtoul.
|
||||
*/
|
||||
#undef ISC_PLATFORM_NEEDSTRTOUL
|
||||
|
||||
#ifndef LWRES_PLATFORM_USEDECLSPEC
|
||||
#define LIBLWRES_EXTERNAL_DATA
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user