summaryrefslogtreecommitdiff
path: root/tools/perf/util/zlib.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 22:29:38 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 18:33:33 +0300
commit611f0afee0e87eb6d184e7f58aa20d18d291d169 (patch)
tree1620bba312a06f773baa76574f6a243897380e98 /tools/perf/util/zlib.c
parent166ebdd2442660e7f942d657fc5e629000e58ec3 (diff)
downloadlinux-611f0afee0e87eb6d184e7f58aa20d18d291d169.tar.xz
perf tools: Add compress.h for the *_decompress_to_file() headers
Out of util.h, the implementations were already in separate files, that are built conditionally. Link: http://lkml.kernel.org/n/tip-0ur7szxsb59f8758kfe63prb@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/zlib.c')
-rw-r--r--tools/perf/util/zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/zlib.c b/tools/perf/util/zlib.c
index 495a449fc25c..1329d843eb7b 100644
--- a/tools/perf/util/zlib.c
+++ b/tools/perf/util/zlib.c
@@ -4,6 +4,7 @@
#include <sys/mman.h>
#include <zlib.h>
+#include "util/compress.h"
#include "util/util.h"
#include "util/debug.h"