diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-17 18:26:25 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-17 18:26:25 +0000 |
commit | 35ad62ac41848a1f73b58753760b8f57b8024a3a (patch) | |
tree | e4c42562a47af50d4d5ce3df4ece16ee812c8f26 /bin/ksh | |
parent | d40d13f2483b332c2dc5755783f1002c90f3ad30 (diff) |
Move a system header include from the global header (sh.h) into the
files that need it. No binary change.
"This looks fine" -nicm@
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/exec.c | 3 | ||||
-rw-r--r-- | bin/ksh/main.c | 3 | ||||
-rw-r--r-- | bin/ksh/sh.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c index 809013b8813..09f64af1b18 100644 --- a/bin/ksh/exec.c +++ b/bin/ksh/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.57 2015/09/22 21:50:40 millert Exp $ */ +/* $OpenBSD: exec.c,v 1.58 2015/10/17 18:26:24 mmcc Exp $ */ /* * execute command tree @@ -8,6 +8,7 @@ #include "c_test.h" #include <ctype.h> #include <sys/stat.h> +#include <paths.h> /* Does ps4 get parameter substitutions done? */ # define PS4_SUBSTITUTE(s) substitute((s), 0) diff --git a/bin/ksh/main.c b/bin/ksh/main.c index 392de9f8296..b76d5565152 100644 --- a/bin/ksh/main.c +++ b/bin/ksh/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.64 2015/10/16 14:45:16 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.65 2015/10/17 18:26:24 mmcc Exp $ */ /* * startup, main loop, environments and error handling @@ -9,6 +9,7 @@ #include "sh.h" #include <sys/stat.h> #include <pwd.h> +#include <paths.h> extern char **environ; diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h index b0e332e488f..7d19db64202 100644 --- a/bin/ksh/sh.h +++ b/bin/ksh/sh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sh.h,v 1.37 2015/09/14 16:08:50 nicm Exp $ */ +/* $OpenBSD: sh.h,v 1.38 2015/10/17 18:26:24 mmcc Exp $ */ /* * Public Domain Bourne/Korn shell @@ -26,8 +26,6 @@ #include <signal.h> -#include <paths.h> - /* end of common headers */ /* some useful #defines */ |