X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fdup.c;fp=lib%2Fdup.c;h=51136db81d6835eca579cb4d183f750290a50597;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=034fcf8d3188e0528af2b9ed54929ca39b28ec8f;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip diff --git a/lib/dup.c b/lib/dup.c index 034fcf8..51136db 100644 --- a/lib/dup.c +++ b/lib/dup.c @@ -1,6 +1,6 @@ /* Duplicate an open file descriptor. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-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 . */ #include @@ -22,7 +22,9 @@ #include -#include "msvc-inval.h" +#if HAVE_MSVC_INVALID_PARAMETER_HANDLER +# include "msvc-inval.h" +#endif #undef dup