summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/xyarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/xyarray.c')
-rw-r--r--tools/perf/util/xyarray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/xyarray.c b/tools/perf/util/xyarray.c
index c10ba41ef3f6..7251fdbabced 100644
--- a/tools/perf/util/xyarray.c
+++ b/tools/perf/util/xyarray.c
@@ -1,5 +1,7 @@
#include "xyarray.h"
#include "util.h"
+#include <stdlib.h>
+#include <string.h>
struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size)
{