summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-zlib.c')
-rw-r--r--tools/perf/config/feature-checks/test-zlib.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-zlib.c b/tools/perf/config/feature-checks/test-zlib.c
new file mode 100644
index 000000000000..e111fff6240e
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-zlib.c
@@ -0,0 +1,9 @@
+#include <zlib.h>
+
+int main(void)
+{
+ z_stream zs;
+
+ inflateInit(&zs);
+ return 0;
+}
OpenPOWER on IntegriCloud