aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2021-11-25 01:52:11 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2021-11-25 01:53:39 +0000
commit971677d5fd4cc6e776468cb80e0a05fdd3f4da49 (patch)
tree283f2316ee539175158114fbcaa11030450f4357 /bin
parente8e8d2290ee68ddf8753ea345d4424f959bdb69d (diff)
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/input.c2
-rw-r--r--bin/sh/trap.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index 3933287524a4..12faa33d0f1b 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -59,7 +59,9 @@ __FBSDID("$FreeBSD$");
#include "error.h"
#include "alias.h"
#include "parser.h"
+#ifndef NO_HISTORY
#include "myhistedit.h"
+#endif
#include "trap.h"
#define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 2dd394035ca4..7a6ed2f4368a 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -58,7 +58,9 @@ __FBSDID("$FreeBSD$");
#include "trap.h"
#include "mystring.h"
#include "builtins.h"
+#ifndef NO_HISTORY
#include "myhistedit.h"
+#endif
/*