aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/freadln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/freadln.c b/src/freadln.c
index 16e3aad..f2c7cfd 100644
--- a/src/freadln.c
+++ b/src/freadln.c
@@ -24,9 +24,10 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
+
#ifdef __WIN32__
# include <io.h>
-# include <stdlib.h>
#else
# include <unistd.h>
#endif