summaryrefslogtreecommitdiff
path: root/tests/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test2.c')
-rw-r--r--tests/test2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test2.c b/tests/test2.c
index 2a2c36d..e408d45 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -15,6 +15,7 @@
# undef O_BINARY
#endif
#if O_BINARY
+# include <io.h>
# define SET_BINARY(f) setmode (f, O_BINARY)
#else
# define SET_BINARY(f) (void)0