diff options
Diffstat (limited to 'tools/perf/util/namespaces.h')
-rw-r--r-- | tools/perf/util/namespaces.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/namespaces.h b/tools/perf/util/namespaces.h index 15a5a276c478..004430c0de93 100644 --- a/tools/perf/util/namespaces.h +++ b/tools/perf/util/namespaces.h | |||
@@ -13,6 +13,10 @@ | |||
13 | #include <linux/refcount.h> | 13 | #include <linux/refcount.h> |
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | 15 | ||
16 | #ifndef HAVE_SETNS_SUPPORT | ||
17 | int setns(int fd, int nstype); | ||
18 | #endif | ||
19 | |||
16 | struct namespaces_event; | 20 | struct namespaces_event; |
17 | 21 | ||
18 | struct namespaces { | 22 | struct namespaces { |