From caa973dd06a7be43c29353b256c9a473f5ad9882 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 5 Sep 2025 19:13:52 +1000 Subject: [PATCH] Create replacement netgroup.h if needed. Remove #ifdef HAVE_NETGROUP_H wrapper. ok djm@ --- auth-rhosts.c | 4 +--- configure.ac | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/auth-rhosts.c b/auth-rhosts.c index d5d2c7a12..031186f24 100644 --- a/auth-rhosts.c +++ b/auth-rhosts.c @@ -21,9 +21,7 @@ #include #include -#ifdef HAVE_NETGROUP_H -# include -#endif +#include #include #include #include diff --git a/configure.ac b/configure.ac index 98e472d8a..b174f5cc8 100644 --- a/configure.ac +++ b/configure.ac @@ -477,7 +477,6 @@ AC_CHECK_HEADERS([ \ ndir.h \ net/if_tun.h \ netdb.h \ - netgroup.h \ pam/pam_appl.h \ pty.h \ readpassphrase.h \ @@ -533,6 +532,7 @@ AC_CHECK_HEADERS([ \ ifaddrs.h \ libgen.h \ paths.h \ + netgroup.h \ poll.h \ stdint.h \ sys/stat.h \ -- 2.47.3