summaryrefslogtreecommitdiff
path: root/tools/perf/ui/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/ui.h')
-rw-r--r--tools/perf/ui/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/ui/ui.h b/tools/perf/ui/ui.h
index 9b6fdf06e1d2..99f8d2fe9bc5 100644
--- a/tools/perf/ui/ui.h
+++ b/tools/perf/ui/ui.h
@@ -2,11 +2,11 @@
#ifndef _PERF_UI_H_
#define _PERF_UI_H_ 1
-#include <pthread.h>
+#include "../util/mutex.h"
#include <stdbool.h>
#include <linux/compiler.h>
-extern pthread_mutex_t ui__lock;
+extern struct mutex ui__lock;
extern void *perf_gtk_handle;
extern int use_browser;