summaryrefslogtreecommitdiff
path: root/win32/include
diff options
context:
space:
mode:
Diffstat (limited to 'win32/include')
-rw-r--r--win32/include/msvc/unistd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/win32/include/msvc/unistd.h b/win32/include/msvc/unistd.h
index e69de29bb..73e9bb667 100644
--- a/win32/include/msvc/unistd.h
+++ b/win32/include/msvc/unistd.h
@@ -0,0 +1,16 @@
+#ifndef UNISTD_H
+#define UNISTD_H
+
+#ifndef STDIN_FILENO
+# define STDIN_FILENO 0
+#endif
+
+#ifndef STDOUT_FILENO
+# define STDOUT_FILENO 1
+#endif
+
+#ifndef STDERR_FILENO
+# define STDERR_FILENO 2
+#endif
+
+#endif