aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 9496365da3d7..c9626c206208 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -11,8 +11,7 @@
11#include <stdlib.h> 11#include <stdlib.h>
12#include <stdarg.h> 12#include <stdarg.h>
13#include <linux/compiler.h> 13#include <linux/compiler.h>
14#include <linux/types.h> 14#include <sys/types.h>
15#include "namespaces.h"
16 15
17/* General helper functions */ 16/* General helper functions */
18void usage(const char *err) __noreturn; 17void usage(const char *err) __noreturn;
@@ -26,6 +25,7 @@ static inline void *zalloc(size_t size)
26#define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) 25#define zfree(ptr) ({ free(*ptr); *ptr = NULL; })
27 26
28struct dirent; 27struct dirent;
28struct nsinfo;
29struct strlist; 29struct strlist;
30 30
31int mkdir_p(char *path, mode_t mode); 31int mkdir_p(char *path, mode_t mode);