X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fisapipe.c;h=8b2d09e52707404ba63d1a9040f035469e122dda;hb=ca369c8d661a10d8a0ae3d712e7dfa91664921f1;hp=d4492dd6add20c876e41c2a48276e2d0eeb6ffba;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/isapipe.c b/lib/isapipe.c index d4492dd6a..8b2d09e52 100644 --- a/lib/isapipe.c +++ b/lib/isapipe.c @@ -1,6 +1,6 @@ /* Test whether a file descriptor is a pipe. - Copyright (C) 2006, 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2008-2013 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 @@ -26,12 +26,12 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* Windows platforms. */ -/* Get _get_osfhandle. */ -# include - /* Get GetFileType. */ # include +/* Get _get_osfhandle. */ +# include "msvc-nothrow.h" + int isapipe (int fd) {