diff options
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/util.h | 4 |
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 */ |
18 | void usage(const char *err) __noreturn; | 17 | void 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 | ||
28 | struct dirent; | 27 | struct dirent; |
28 | struct nsinfo; | ||
29 | struct strlist; | 29 | struct strlist; |
30 | 30 | ||
31 | int mkdir_p(char *path, mode_t mode); | 31 | int mkdir_p(char *path, mode_t mode); |