aboutsummaryrefslogtreecommitdiffstats
path: root/lib/readline/histfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readline/histfile.c')
-rw-r--r--lib/readline/histfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readline/histfile.c b/lib/readline/histfile.c
index bb74315..845c243 100644
--- a/lib/readline/histfile.c
+++ b/lib/readline/histfile.c
@@ -90,7 +90,7 @@
#include <errno.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
#include "history.h"