summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2021-09-27 00:03:19 +1000
committerDamien Miller <djm@mindrot.org>2021-09-27 00:03:19 +1000
commitbf944e3794eff5413f2df1ef37cddf96918c6bde (patch)
tree47e5f54f7d335fd37e3bb4f853a2b6426fcfabe4
parent8c5b5655149bd76ea21026d7fe73ab387dbc3bc7 (diff)
initgroups needs grp.hV_8_8_P1V_8_8
-rw-r--r--misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index d94438da..0134d694 100644
--- a/misc.c
+++ b/misc.c
@@ -56,6 +56,7 @@
#ifdef HAVE_PATHS_H
# include <paths.h>
#include <pwd.h>
+#include <grp.h>
#endif
#ifdef SSH_TUN_OPENBSD
#include <net/if.h>