summaryrefslogtreecommitdiff
path: root/tools/perf/util/zlib.c
diff options
context:
space:
mode:
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 512ad7c09b13..59d456f716e9 100644
--- a/tools/perf/util/zlib.c
+++ b/tools/perf/util/zlib.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/mman.h>