X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Ffcntl.c;fp=lib%2Ffcntl.c;h=b8cb271f55ca8cc450b5f9fdfd91b8e34226b8cd;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=fd17e962f8bb9671c5e18ac60696d3583ec0edba;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip diff --git a/lib/fcntl.c b/lib/fcntl.c index fd17e96..b8cb271 100644 --- a/lib/fcntl.c +++ b/lib/fcntl.c @@ -1,6 +1,6 @@ /* Provide file descriptor control. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2018 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 @@ -13,7 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . */ + along with this program. If not, see . */ /* Written by Eric Blake . */ @@ -38,7 +38,11 @@ # include /* Get _get_osfhandle. */ -# include "msvc-nothrow.h" +# if GNULIB_MSVC_NOTHROW +# include "msvc-nothrow.h" +# else +# include +# endif /* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ # define OPEN_MAX_MAX 0x10000