summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adler32.c1
-rw-r--r--crc32.c4
-rw-r--r--match.c1
-rw-r--r--zutil.h1
4 files changed, 2 insertions, 5 deletions
diff --git a/adler32.c b/adler32.c
index e502919..49b5441 100644
--- a/adler32.c
+++ b/adler32.c
@@ -6,7 +6,6 @@
/* @(#) $Id$ */
#include "zutil.h"
-#include <stdint.h>
static uint32_t adler32_combine_ (uint32_t adler1, uint32_t adler2, z_off64_t len2);
diff --git a/crc32.c b/crc32.c
index b1d5425..03ee157 100644
--- a/crc32.c
+++ b/crc32.c
@@ -42,8 +42,7 @@
# endif /* !DYNAMIC_CRC_TABLE */
#endif /* MAKECRCH */
-#include "zutil.h"
-#include <stdint.h>
+#include "deflate.h"
#if BYTE_ORDER == LITTLE_ENDIAN
static uint32_t crc32_little (uint32_t, const unsigned char *, unsigned);
@@ -423,7 +422,6 @@ uint32_t ZEXPORT crc32_combine64(crc1, crc2, len2)
return crc32_combine_(crc1, crc2, len2);
}
-#include "deflate.h"
#ifdef X86_PCLMULQDQ_CRC
#include "arch/x86/x86.h"
diff --git a/match.c b/match.c
index 541f77c..0131997 100644
--- a/match.c
+++ b/match.c
@@ -8,7 +8,6 @@
* OUT assertion: the match length is not greater than s->lookahead
*/
-#include <stdint.h>
#include "deflate.h"
#if (defined(UNALIGNED_OK) && MAX_MATCH == 258)
diff --git a/zutil.h b/zutil.h
index 9d37f6f..0c74b35 100644
--- a/zutil.h
+++ b/zutil.h
@@ -23,6 +23,7 @@
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
#ifndef local
# define local static