fix oddness in this patch that generated an ftpmaster reject
[debian/gzip] / gzip.c
diff --git a/gzip.c b/gzip.c
index 38e1373e474edd30a0a71825b7281d8429948a9c..5fc6ded293c785ed584812e0b7eae73bcb0ecc9c 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -223,7 +223,9 @@ static int handled_sig[] =
 #ifdef SIGHUP
     , SIGHUP
 #endif
+#ifdef SIGPIPE
     , SIGPIPE
+#endif
 #ifdef SIGTERM
     , SIGTERM
 #endif
@@ -554,7 +556,11 @@ int main (int argc, char **argv)
     ALLOC(ush, tab_prefix1, 1L<<(BITS-1));
 #endif
 
+#ifdef SIGPIPE
     exiting_signal = quiet ? SIGPIPE : 0;
+#else
+    exiting_signal = 0;
+#endif
     install_signal_handlers ();
 
     /* And get to work */