summaryrefslogtreecommitdiffstats
path: root/samples/bpf/task_fd_query_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/task_fd_query_user.c')
-rw-r--r--samples/bpf/task_fd_query_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/task_fd_query_user.c b/samples/bpf/task_fd_query_user.c
index e39938058223..4c31b305e6ef 100644
--- a/samples/bpf/task_fd_query_user.c
+++ b/samples/bpf/task_fd_query_user.c
@@ -13,6 +13,7 @@
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <linux/perf_event.h>
#include "libbpf.h"
#include "bpf_load.h"