Create replacement netgroup.h if needed.

Remove #ifdef HAVE_NETGROUP_H wrapper.  ok djm@
This commit is contained in:
Darren Tucker
2025-09-05 19:13:52 +10:00
parent 7d30526b7d
commit caa973dd06
2 changed files with 2 additions and 4 deletions

View 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>

View 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 \