summaryrefslogtreecommitdiff
path: root/tools/perf/util/evswitch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/evswitch.c')
-rw-r--r--tools/perf/util/evswitch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evswitch.c b/tools/perf/util/evswitch.c
index 40cb56a9347d..d4c06a3f825a 100644
--- a/tools/perf/util/evswitch.c
+++ b/tools/perf/util/evswitch.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
+#include <errno.h>
#include "evswitch.h"
#include "evlist.h"