Add HAVE_NETDB_H (GH PR #7)

This commit is contained in:
Fred Helmesjö 2022-09-01 08:49:45 +02:00 committed by Boris Kolpackov
parent 8393bc75ec
commit 675db37eb9

View File

@ -0,0 +1,16 @@
// HAVE_NETDB_H : BUILD2_AUTOCONF_LIBC_VERSION
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
#endif
#undef HAVE_NETDB_H
/* Since BSD 4.2 (1983) */
#if defined(__FreeBSD__) || \
defined(__OpenBSD__) || \
defined(__NetBSD__) || \
defined(__GLIBC__) || \
defined(BUILD2_AUTOCONF_MACOS)
# define HAVE_NETDB_H 1
#endif