Assume <netdb.h> exists
It is required by POSIX.1-2001. Cc: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
b76d9b540a
commit
48391fb862
@ -39,7 +39,7 @@ dnl Checks for header files.
|
|||||||
AC_CHECK_HEADERS(crypt.h utmp.h \
|
AC_CHECK_HEADERS(crypt.h utmp.h \
|
||||||
termio.h sgtty.h sys/ioctl.h paths.h \
|
termio.h sgtty.h sys/ioctl.h paths.h \
|
||||||
sys/capability.h sys/random.h \
|
sys/capability.h sys/random.h \
|
||||||
gshadow.h lastlog.h rpc/key_prot.h netdb.h acl/libacl.h \
|
gshadow.h lastlog.h rpc/key_prot.h acl/libacl.h \
|
||||||
attr/libattr.h attr/error_context.h)
|
attr/libattr.h attr/error_context.h)
|
||||||
|
|
||||||
dnl shadow now uses the libc's shadow implementation
|
dnl shadow now uses the libc's shadow implementation
|
||||||
|
@ -42,9 +42,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#ifdef HAVE_NETDB_H
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#ifdef PRIMARY_GROUP_MATCH
|
#ifdef PRIMARY_GROUP_MATCH
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user