summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2000-03-06 21:42:26 +0000
committerlukem <lukem@NetBSD.org>2000-03-06 21:42:26 +0000
commitc8c9e77cbf06f9328ad1645fbfc4ed2f7915e718 (patch)
tree69bf37dc7b0ccce82b9130c640dfee63a78c7595 /libexec
parent42144199a1f5eedf19aa16694692a680ecbd0684 (diff)
only define _DEFAULT_CONFDIR if not set. (allows compile-time override)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/pathnames.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ftpd/pathnames.h b/libexec/ftpd/pathnames.h
index 38b96ae0694..dc303c882a1 100644
--- a/libexec/ftpd/pathnames.h
+++ b/libexec/ftpd/pathnames.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.9 2000/01/08 11:09:56 lukem Exp $ */
+/* $NetBSD: pathnames.h,v 1.10 2000/03/06 21:42:26 lukem Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -37,7 +37,9 @@
#include <paths.h>
+#ifndef _DEFAULT_CONFDIR
#define _DEFAULT_CONFDIR "/etc"
+#endif
#define _PATH_FTPCHROOT "ftpchroot"
#define _PATH_FTPDCONF "ftpd.conf"