summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-11-04 20:46:46 +0000
committerchristos <christos@NetBSD.org>2012-11-04 20:46:46 +0000
commitcf23f4061a3b1b42ee51dc078dcc89962e626bf1 (patch)
treeb945ff9e8fcd22ba465797060ba9a10cbef01de4 /libexec
parentefb33139ab60115e1ddc9ca9fa2bf0b2beea86b3 (diff)
include pwd.h for password stuff
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/conf.c b/libexec/ftpd/conf.c
index b5d7c0fb341..63cdfaeff55 100644
--- a/libexec/ftpd/conf.c
+++ b/libexec/ftpd/conf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.63 2011/08/14 11:46:28 christos Exp $ */
+/* $NetBSD: conf.c,v 1.64 2012/11/04 20:46:46 christos Exp $ */
/*-
* Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: conf.c,v 1.63 2011/08/14 11:46:28 christos Exp $");
+__RCSID("$NetBSD: conf.c,v 1.64 2012/11/04 20:46:46 christos Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -42,6 +42,7 @@ __RCSID("$NetBSD: conf.c,v 1.63 2011/08/14 11:46:28 christos Exp $");
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
+#include <pwd.h>
#include <glob.h>
#include <netdb.h>
#include <signal.h>