summaryrefslogtreecommitdiff
path: root/simpleperf/event_fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/event_fd.h')
-rw-r--r--simpleperf/event_fd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/event_fd.h b/simpleperf/event_fd.h
index cc0c0618..c1a7d753 100644
--- a/simpleperf/event_fd.h
+++ b/simpleperf/event_fd.h
@@ -17,7 +17,6 @@
#ifndef SIMPLE_PERF_EVENT_FD_H_
#define SIMPLE_PERF_EVENT_FD_H_
-#include <poll.h>
#include <sys/types.h>
#include <memory>
@@ -35,6 +34,8 @@ struct PerfCounter {
uint64_t id; // The id of the perf_event_file.
};
+struct pollfd;
+
// EventFd represents an opened perf_event_file.
class EventFd {
public: