]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Create replacement netgroup.h if needed.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 09:13:52 +0000 (19:13 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 5 Sep 2025 09:13:52 +0000 (19:13 +1000)
Remove #ifdef HAVE_NETGROUP_H wrapper.  ok djm@

auth-rhosts.c
configure.ac

index d5d2c7a12988d4d3fddb0d85ba994810e4304bb4..031186f247198abe4eb01759aa11baf91fc67b98 100644 (file)
@@ -21,9 +21,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
-#ifdef HAVE_NETGROUP_H
-# include <netgroup.h>
-#endif
+#include <netgroup.h>
 #include <pwd.h>
 #include <stdio.h>
 #include <string.h>
index 98e472d8a255ec6e562d65042bac74344016a9a1..b174f5cc8025c931c2915d6d8e8e44f6748c4fc7 100644 (file)
@@ -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 \