summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2018-09-16 12:43:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2018-09-16 12:43:41 +0000
commitbb9ef0a587d30cde6b00373c047aa091c17afd00 (patch)
tree690f38cbf8a909c0863a3fba5a3c8cd944b0b5bb /usr.sbin/mtree
parent7dcd433d4874f4f6ec76a8cdd103c487384bae21 (diff)
Add missing includes for setpassent() and setgroupent().
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r--usr.sbin/mtree/mtree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/mtree/mtree.c b/usr.sbin/mtree/mtree.c
index b0344412f6b..3b7e1c0713d 100644
--- a/usr.sbin/mtree/mtree.c
+++ b/usr.sbin/mtree/mtree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtree.c,v 1.25 2018/09/16 02:41:16 millert Exp $ */
+/* $OpenBSD: mtree.c,v 1.26 2018/09/16 12:43:40 millert Exp $ */
/* $NetBSD: mtree.c,v 1.7 1996/09/05 23:29:22 thorpej Exp $ */
/*-
@@ -37,6 +37,8 @@
#include <stdio.h>
#include <limits.h>
#include <fts.h>
+#include <grp.h>
+#include <pwd.h>
#include "mtree.h"
#include "extern.h"