Build fix: missing poll wrapper include in utils-poll.cpp
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Dec 2022 22:22:15 +0000 (17:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 16 Jan 2023 19:49:23 +0000 (14:49 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I7d751007af88416e4281be5af3c4a252eb8bfcde

src/common/fd-tracker/utils-poll.cpp
src/common/fd-tracker/utils.hpp

index 8c252851ee667df1319633ded704b1e9ea8169e3..1c76e01679eabaa0154690e546caee73bd1abebe 100644 (file)
@@ -5,8 +5,6 @@
  *
  */
 
-#include <common/compat/poll.hpp>
-
 #include "utils.hpp"
 
 #ifdef HAVE_EPOLL
index 064e09c0e480504ef5d7b29a5357458cdafa67b1..f752564962f6657258e15508adf530735991adfc 100644 (file)
@@ -9,11 +9,10 @@
 #define FD_TRACKER_UTILS_H
 
 #include <common/compat/directory-handle.hpp>
+#include <common/compat/poll.hpp>
 #include <common/fd-tracker/fd-tracker.hpp>
 #include <common/macros.hpp>
 
-struct lttng_poll_event;
-
 /*
  * Utility implementing a close_fd callback which receives one file descriptor
  * and closes it, returning close()'s return value.
This page took 0.026215 seconds and 4 git commands to generate.