maint: avoid new syntax-check failures
[debian/gzip] / gzip.c
diff --git a/gzip.c b/gzip.c
index b792a4764995ee06d1dadf1de2c2a10bdf88d71f..16530aa99baf449022da9920171fe4f2444f19b2 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -91,12 +91,6 @@ static char const *const license_msg[] = {
 # include <savedir.h>
 #endif
 
-#ifdef CLOSEDIR_VOID
-# define CLOSEDIR(d) (closedir(d), 0)
-#else
-# define CLOSEDIR(d) closedir(d)
-#endif
-
 #ifndef NO_UTIME
 #  include <utimens.h>
 #endif
@@ -228,7 +222,9 @@ static int handled_sig[] =
 #ifdef SIGHUP
     , SIGHUP
 #endif
+#if SIGPIPE
     , SIGPIPE
+#endif
 #ifdef SIGTERM
     , SIGTERM
 #endif