From d250aeef2c4254cc84687128df43c8bdb67e49c3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 26 Sep 2009 20:36:55 +0200 Subject: [PATCH] maint: include first in many files --- amiga/tailor.c | 1 + crypt.c | 1 + lib/match.c | 2 ++ msdos/tailor.c | 1 + primos/primos.c | 1 + sample/add.c | 1 + sample/makecrc.c | 1 + sample/sub.c | 1 + sample/zread.c | 1 + vms/vms.c | 1 + 10 files changed, 11 insertions(+) diff --git a/amiga/tailor.c b/amiga/tailor.c index 9f14cc4..5084774 100644 --- a/amiga/tailor.c +++ b/amiga/tailor.c @@ -8,6 +8,7 @@ * This file contains Amiga specific functions for gzip. */ +#include #include #include #include diff --git a/crypt.c b/crypt.c index 7be11d8..ff14a7b 100644 --- a/crypt.c +++ b/crypt.c @@ -1,4 +1,5 @@ /* crypt.c (dummy version) -- do not perform encryption * Hardly worth copyrighting :-) */ +#include typedef int dummy; diff --git a/lib/match.c b/lib/match.c index ecbf89b..48bf5da 100644 --- a/lib/match.c +++ b/lib/match.c @@ -28,6 +28,8 @@ * David Mosberger-Tang . */ +#include + /* Preprocess with -DNO_UNDERLINE if your C compiler does not prefix * external symbols with an underline character '_'. */ diff --git a/msdos/tailor.c b/msdos/tailor.c index 3357328..83d86a6 100644 --- a/msdos/tailor.c +++ b/msdos/tailor.c @@ -8,6 +8,7 @@ * It should be kept to a minimum. */ +#include #include "tailor.h" #include "gzip.h" diff --git a/primos/primos.c b/primos/primos.c index 25dd57e..18e228b 100644 --- a/primos/primos.c +++ b/primos/primos.c @@ -8,6 +8,7 @@ #ifdef __50SERIES +#include #include #include #include diff --git a/sample/add.c b/sample/add.c index 0058d9e..cbde915 100644 --- a/sample/add.c +++ b/sample/add.c @@ -6,6 +6,7 @@ in the stream. See sub.c for what the filtering is and what it's good for. */ +#include #include #define MAGIC1 'S' /* sub data */ diff --git a/sample/makecrc.c b/sample/makecrc.c index e5a9593..8fa2959 100644 --- a/sample/makecrc.c +++ b/sample/makecrc.c @@ -1,5 +1,6 @@ /* Not copyrighted 1990 Mark Adler */ +#include #include main() diff --git a/sample/sub.c b/sample/sub.c index ec57ca4..7ac120c 100644 --- a/sample/sub.c +++ b/sample/sub.c @@ -33,6 +33,7 @@ gunzip < double.data.sgz | add > double.data */ +#include #include #define MAGIC1 'S' /* sub data */ diff --git a/sample/zread.c b/sample/zread.c index 3163d42..12c5a35 100644 --- a/sample/zread.c +++ b/sample/zread.c @@ -1,3 +1,4 @@ +#include #include /* Trivial example of reading a gzip'ed file or gzip'ed standard input diff --git a/vms/vms.c b/vms/vms.c index b13b3bb..3383ee9 100644 --- a/vms/vms.c +++ b/vms/vms.c @@ -6,6 +6,7 @@ * and updated by Jean-loup Gailly. */ +#include #include static char **vms_argv = NULL; -- 2.47.2