X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Flseek.c;fp=lib%2Flseek.c;h=e37aadffd29640346ba4c2c57e926b1194ba4a19;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=2a95a07ea6602991c72c6d52bd50334210d512e4;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip
diff --git a/lib/lseek.c b/lib/lseek.c
index 2a95a07..e37aadf 100644
--- a/lib/lseek.c
+++ b/lib/lseek.c
@@ -1,5 +1,5 @@
/* An lseek() function that detects pipes.
- Copyright (C) 2007, 2009-2016 Free Software Foundation, Inc.
+ Copyright (C) 2007, 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
@@ -12,7 +12,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 . */
+ with this program; if not, see . */
#include
@@ -24,7 +24,11 @@
/* Get GetFileType. */
# include
/* Get _get_osfhandle. */
-# include "msvc-nothrow.h"
+# if GNULIB_MSVC_NOTHROW
+# include "msvc-nothrow.h"
+# else
+# include
+# endif
#else
# include
#endif