X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-dup3.c;h=033193df6201fd7e7f88652c1f22325fa234296c;hb=6a586a91c909c2dde4390037f5ee672978075b49;hp=f1e978b15de9884ab97360835c5dc4a9753877b0;hpb=ffb0b29997c66526985e1f4a496335d0ab4ef111;p=gnulib.git diff --git a/tests/test-dup3.c b/tests/test-dup3.c index f1e978b15..033193df6 100644 --- a/tests/test-dup3.c +++ b/tests/test-dup3.c @@ -1,5 +1,5 @@ /* Test duplicating file descriptors. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,8 @@ SIGNATURE_CHECK (dup3, int, (int, int, int)); /* Get declarations of the Win32 API functions. */ # define WIN32_LEAN_AND_MEAN # include +/* Get _get_osfhandle. */ +# include "msvc-nothrow.h" #endif #include "binary-io.h"