windows/unistd: Add definitions for STD*_FILENO.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 12 Mar 2014 20:57:42 +0000 (13:57 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 17 Mar 2014 21:20:48 +0000 (14:20 -0700)
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
include/windows/unistd.h

index 0f553bb..d9ded5a 100644 (file)
@@ -18,4 +18,9 @@
 
 #define fsync _commit
 
+/* Standard file descriptors.  */
+#define STDIN_FILENO    0   /* Standard input.  */
+#define STDOUT_FILENO   1   /* Standard output.  */
+#define STDERR_FILENO   2   /* Standard error output.  */
+
 #endif /* unistd.h  */