From ab6e4e36e2af25f007b382ec329377ab53bc22f5 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 29 Oct 2017 10:30:01 +0100
Subject: [PATCH] tweaks: fix compilation with --enable-tiny --enable-histories

---
 src/files.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/files.c b/src/files.c
index 31f754c0..6e096346 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1066,7 +1066,10 @@ void do_insertfile(void)
 #endif
 		MINSERTFILE, given,
 #ifndef DISABLE_HISTORIES
-		execute ? &execute_history : NULL,
+#ifndef NANO_TINY
+		execute ? &execute_history :
+#endif
+		NULL,
 #endif
 		edit_refresh, msg,
 #ifndef DISABLE_OPERATINGDIR
-- 
GitLab