diff options
Diffstat (limited to 'tests/test-dup2.c')
-rw-r--r-- | tests/test-dup2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-dup2.c b/tests/test-dup2.c index 37454e965c..a14807a36e 100644 --- a/tests/test-dup2.c +++ b/tests/test-dup2.c @@ -36,6 +36,8 @@ SIGNATURE_CHECK (dup2, int, (int, int)); /* Get declarations of the Win32 API functions. */ # define WIN32_LEAN_AND_MEAN # include <windows.h> +/* Get _get_osfhandle. */ +# include "msvc-nothrow.h" #endif #include "macros.h" |