gzip: port to AIX 7.1 + xlc V12.1
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2016 22:45:42 +0000 (15:45 -0700)
committerJim Meyering <meyering@fb.com>
Tue, 15 Mar 2016 23:39:33 +0000 (16:39 -0700)
* inflate.c, unlzw.c, util.c: Include tailor.h after including any
system include file that might in turn include signal.h for the
first time, so that SIGPIPE is not #defined to 0 prematurely,
which clashes with signal.h's SIGPIPE.

inflate.c
unlzw.c
util.c

index b9201bbfb4dad55acb052d947ff5098e05ed69a4..ff2be7e0fecd2dd0884b5fafd4839381e1ac0471 100644 (file)
--- a/inflate.c
+++ b/inflate.c
  */
 
 #include <config.h>
-#include "tailor.h"
 
 #include <stdlib.h>
 
+#include "tailor.h"
 #include "gzip.h"
 #define slide window
 
diff --git a/unlzw.c b/unlzw.c
index 69a47b45a9477e97deb048ad222e4bbd79e3aed8..d5b01f598b13915460762c47675acef4504f4bf1 100644 (file)
--- a/unlzw.c
+++ b/unlzw.c
@@ -8,11 +8,11 @@
  */
 
 #include <config.h>
-#include "tailor.h"
 
 #include <unistd.h>
 #include <fcntl.h>
 
+#include "tailor.h"
 #include "gzip.h"
 #include "lzw.h"
 
diff --git a/util.c b/util.c
index 522d6ef14196a05e30b34f14b143b75ea3adcf5f..c06bcc42ec7dc7233b0d6402f75997d0ccbc840c 100644 (file)
--- a/util.c
+++ b/util.c
 #include <config.h>
 #include <ctype.h>
 #include <errno.h>
-
-#include "tailor.h"
-
 #include <limits.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <errno.h>
 
+#include "tailor.h"
 #include "gzip.h"
 #include <xalloc.h>