summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Jung <jung@cvs.openbsd.org>2016-01-01 12:37:15 +0000
committerJoerg Jung <jung@cvs.openbsd.org>2016-01-01 12:37:15 +0000
commitf01c9e659eae624e070ce30381e30e00b8de4039 (patch)
treeb5869784c3c05982fead5ea3b4a5273d4dd77941
parent7f459c87bccc1ab50e713fc259481e5c7acde7e1 (diff)
add grp.h for setgroups, not necessarily required on OpenBSD but reduces diff
to -portable ok gilles
-rw-r--r--usr.sbin/smtpd/pony.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/pony.c b/usr.sbin/smtpd/pony.c
index 1bc552db85c..8be383eca0c 100644
--- a/usr.sbin/smtpd/pony.c
+++ b/usr.sbin/smtpd/pony.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pony.c,v 1.11 2015/12/13 10:54:11 gilles Exp $ */
+/* $OpenBSD: pony.c,v 1.12 2016/01/01 12:37:14 jung Exp $ */
/*
* Copyright (c) 2014 Gilles Chehade <gilles@poolp.org>
@@ -35,6 +35,7 @@
#include <time.h>
#include <unistd.h>
#include <limits.h>
+#include <grp.h>
#include <vis.h>
#include "smtpd.h"