summaryrefslogtreecommitdiff
path: root/lib/Input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Input.cc')
-rw-r--r--lib/Input.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 719c560..c7cd1d9 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -7,6 +7,11 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#else
+#include <io.h>
+#endif
#include "Input.h"
#include "Exceptions.h"
#include "gettext.h"