aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index ed94b29f78..de963683fe 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -81,6 +81,7 @@
#define UE_MAGIC 0xabc123 /* value for ue_magic when in use */
#include <inttypes.h>
+#include <errno.h>
#include <string.h>
#include "nvim/vim.h"