From 578f2862152e2c3831330ce413ab9c53e13fafbc Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 2 Dec 2022 21:39:15 +0100 Subject: [PATCH] Assume exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is required by POSIX.1-2001. Cc: Christian Göttsche Signed-off-by: Alejandro Colomar --- configure.ac | 2 +- lib/defines.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 94a37472..1f93cd29 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ LT_INIT dnl Checks for libraries. dnl Checks for header files. -AC_CHECK_HEADERS(crypt.h unistd.h sys/time.h utmp.h \ +AC_CHECK_HEADERS(crypt.h sys/time.h utmp.h \ utmpx.h termios.h termio.h sgtty.h sys/ioctl.h syslog.h paths.h \ utime.h ulimit.h sys/capability.h sys/random.h sys/resource.h \ gshadow.h lastlog.h rpc/key_prot.h netdb.h acl/libacl.h \ diff --git a/lib/defines.h b/lib/defines.h index 1cfc537b..db3adb3f 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -46,9 +46,7 @@ extern char * textdomain (const char * domainname); #include #include -#if HAVE_UNISTD_H -# include -#endif +#include /* * crypt(3), crypt_gensalt(3), and their