aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
authorDelan Azabani <delan@azabani.com>2024-06-24 12:44:35 +0800
committerDelan Azabani <delan@azabani.com>2024-06-24 12:47:04 +0800
commit3baffbdcc5718815d4e2958531dcb1d906ae0061 (patch)
tree67e5f683baf6d27736332a595ae88c3eb0998444 /src/libcmd/repl.cc
parent21865ccce0a5bf6edcb98a09b57b3f076ee9ba9f (diff)
Fix compile error under gcc with -Denable-pch-std=false
Following the latest hacking.md currently fails because of a missing include in upstream editline. This patch fixes the build by adding that missing include. Fixes #410. Change-Id: Iefd4cb687ed3da71ccda9fe9624f38e6ef4623e5
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index 99abbe44b..3db2401e4 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -1,3 +1,4 @@
+#include <cstdio>
#include <editline.h>
#include <iostream>
#include <cstdlib>