From: Alejandro Colomar Date: Fri, 2 Dec 2022 21:24:56 +0000 (+0100) Subject: Assume exists X-Git-Tag: 4.14.0-rc1~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48391fb8626c8e22280fe4590d9253f8340a3f1d;p=thirdparty%2Fshadow.git Assume exists It is required by POSIX.1-2001. Cc: Christian Göttsche Signed-off-by: Alejandro Colomar --- diff --git a/configure.ac b/configure.ac index b6141bed9..ae43b9b15 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ dnl Checks for header files. AC_CHECK_HEADERS(crypt.h utmp.h \ termio.h sgtty.h sys/ioctl.h paths.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) dnl shadow now uses the libc's shadow implementation diff --git a/src/login_nopam.c b/src/login_nopam.c index df6ba882d..0ebe3bfc2 100644 --- a/src/login_nopam.c +++ b/src/login_nopam.c @@ -42,9 +42,7 @@ #include #include #include -#ifdef HAVE_NETDB_H #include -#endif #include #ifdef PRIMARY_GROUP_MATCH #include