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 \