diff options
Diffstat (limited to 'winsup/mingw/samples/fmode/all.c')
-rw-r--r-- | winsup/mingw/samples/fmode/all.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/mingw/samples/fmode/all.c b/winsup/mingw/samples/fmode/all.c index a6f7d51f7..f052b9306 100644 --- a/winsup/mingw/samples/fmode/all.c +++ b/winsup/mingw/samples/fmode/all.c @@ -13,7 +13,10 @@ */ #include <stdio.h> -#include <fcntl.h> +#include <stdlib.h> /* _fmode */ +#include <fcntl.h> /* _O_BINARY */ +#include <io.h> /* _setmode */ + unsigned int _CRT_fmode = _O_BINARY; |