summaryrefslogtreecommitdiffstats
path: root/bin/sh/error.c
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1999-11-29 19:11:01 +0000
committercracauer <cracauer@FreeBSD.org>1999-11-29 19:11:01 +0000
commit903b2c868c14cd85dd3b2e2675969b9cb17f94ea (patch)
tree6ca499c12c2fb731744e3f10743e0e08fdad94e3 /bin/sh/error.c
parent80af32c97b108dacf6028b29ecae08e5da839113 (diff)
downloadFreeBSD-src-903b2c868c14cd85dd3b2e2675969b9cb17f94ea.zip
FreeBSD-src-903b2c868c14cd85dd3b2e2675969b9cb17f94ea.tar.gz
Include strerror(errno) in error messages after failed system calls.
Fix a warning.
Diffstat (limited to 'bin/sh/error.c')
-rw-r--r--bin/sh/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/error.c b/bin/sh/error.c
index f5dd6a6..e079699 100644
--- a/bin/sh/error.c
+++ b/bin/sh/error.c
@@ -51,6 +51,7 @@ static const char rcsid[] =
#include "options.h"
#include "output.h"
#include "error.h"
+#include "nodes.h" /* show.h needs nodes.h */
#include "show.h"
#include "trap.h"
#include <signal.h>
OpenPOWER on IntegriCloud