summaryrefslogtreecommitdiff
path: root/tools/perf/tests/unit_number__scnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/unit_number__scnprintf.c')
-rw-r--r--tools/perf/tests/unit_number__scnprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/unit_number__scnprintf.c b/tools/perf/tests/unit_number__scnprintf.c
index 2bb8cb0039c1..3721757435da 100644
--- a/tools/perf/tests/unit_number__scnprintf.c
+++ b/tools/perf/tests/unit_number__scnprintf.c
@@ -2,6 +2,7 @@
#include <inttypes.h>
#include <linux/compiler.h>
#include <linux/types.h>
+#include <string.h>
#include "tests.h"
#include "units.h"
#include "debug.h"