summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/editor/editcmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c
index ad5e20d07..2b1a8cc23 100644
--- a/src/editor/editcmd.c
+++ b/src/editor/editcmd.c
@@ -43,6 +43,7 @@
#include <string.h>
#include <sys/stat.h>
#include <stdlib.h>
+#include <errno.h>
#include "lib/global.h"
#include "lib/tty/tty.h"