summaryrefslogtreecommitdiff
path: root/MSVC/readline/histfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'MSVC/readline/histfile.c')
-rw-r--r--MSVC/readline/histfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/MSVC/readline/histfile.c b/MSVC/readline/histfile.c
index b0279db..dc07ba3 100644
--- a/MSVC/readline/histfile.c
+++ b/MSVC/readline/histfile.c
@@ -23,11 +23,16 @@
/* The goal is to make the implementation transparent, so that you
don't have to know what data types are used, just what functions
you can call. I think I have done that. */
+#ifndef READLINE_LIBRARY
#define READLINE_LIBRARY
+#endif
#include "config.h"
#include <stdio.h>
+#ifdef _WIN32
+#include <io.h>
+#endif
#include <sys/types.h>
#if !defined _MINIX && !defined _WIN32