summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown/shutdown.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-05 22:49:23 +0000
committerobrien <obrien@FreeBSD.org>2003-05-05 22:49:23 +0000
commitdf429f4699c1360689b59e8c2440ab71c5c80656 (patch)
tree98ff85a15a26642640d555e4b28d599d775702fe /sbin/shutdown/shutdown.c
parent2e101cf42bcedd60b9f18df6082dffdf52b8ca77 (diff)
downloadFreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.zip
FreeBSD-src-df429f4699c1360689b59e8c2440ab71c5c80656.tar.gz
Centralize _PATH_* definitions.
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
Diffstat (limited to 'sbin/shutdown/shutdown.c')
-rw-r--r--sbin/shutdown/shutdown.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index 85b1985..9e2f8c6 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <fcntl.h>
+#include <paths.h>
#include <pwd.h>
#include <setjmp.h>
#include <signal.h>
@@ -61,8 +62,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include "pathnames.h"
-
#ifdef DEBUG
#undef _PATH_NOLOGIN
#define _PATH_NOLOGIN "./nologin"
OpenPOWER on IntegriCloud