aboutsummaryrefslogtreecommitdiff
path: root/src/freadln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freadln.c')
-rw-r--r--src/freadln.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/freadln.c b/src/freadln.c
index 02ce2e3..fdad165 100644
--- a/src/freadln.c
+++ b/src/freadln.c
@@ -26,12 +26,13 @@
//#include <stdarg.h>
//#include <fcntl.h>
-//#ifdef __WIN32__
-//# include <io.h>
+#ifdef __WIN32__
+# include <io.h>
+# include <stdlib.h>
//#else
//# include <sys/types.h>
//# include <unistd.h>
-//#endif
+#endif
#define MIN_FREADLN_LENGTH 10