summaryrefslogtreecommitdiffstats
path: root/tests/fuzzer.c
diff options
context:
space:
mode:
authorNorm Green <norm.green@gemtalksystems.com>2019-04-17 16:20:09 (GMT)
committerNorm Green <norm.green@gemtalksystems.com>2019-04-17 16:20:09 (GMT)
commit1848ea5cbd582e3728ea4fe1ff619468753debea (patch)
treee723c373be678a9b211e7734da01b079c457c4b7 /tests/fuzzer.c
parent5dde00e5d33eb617673f62191781907468beadb7 (diff)
downloadlz4-1848ea5cbd582e3728ea4fe1ff619468753debea.zip
lz4-1848ea5cbd582e3728ea4fe1ff619468753debea.tar.gz
lz4-1848ea5cbd582e3728ea4fe1ff619468753debea.tar.bz2
Fix AIX errors/warnings
Diffstat (limited to 'tests/fuzzer.c')
-rw-r--r--tests/fuzzer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c
index 3128e6d..68e2232 100644
--- a/tests/fuzzer.c
+++ b/tests/fuzzer.c
@@ -50,6 +50,10 @@
#include <assert.h>
#include <limits.h> /* INT_MAX */
+#if defined(_AIX)
+# include <sys/mman.h> /* mmap */
+#endif
+
#define LZ4_DISABLE_DEPRECATE_WARNINGS /* LZ4_decompress_fast */
#define LZ4_STATIC_LINKING_ONLY
#include "lz4.h"