summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchclvl <chclvl@users.sourceforge.net>2021-10-18 17:20:29 +0200
committerchclvl <chclvl@users.sourceforge.net>2021-10-18 17:20:29 +0200
commit9e93cde67d6abc6e448b325c2a11ca90c1a033cf (patch)
treea52618676c3f805fcbfd89fc4c6b03b8f4402e19
parent076a2a5981197467a5b567367ab8c170a228c0d6 (diff)
downloaddbus-c++-use_POSIX_poll.h_instead_of_sys_poll.h.tar.gz
PR#3: use POSIX poll.h instead of sys/poll.huse_POSIX_poll.h_instead_of_sys_poll.h
-rw-r--r--src/eventloop-integration.cpp2
-rw-r--r--src/eventloop.cpp2
-rw-r--r--src/pipe.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/eventloop-integration.cpp b/src/eventloop-integration.cpp
index 5776971..271b503 100644
--- a/src/eventloop-integration.cpp
+++ b/src/eventloop-integration.cpp
@@ -36,7 +36,7 @@
/* STD */
#include <string.h>
#include <cassert>
-#include <sys/poll.h>
+#include <poll.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/src/eventloop.cpp b/src/eventloop.cpp
index 3fcee95..564c104 100644
--- a/src/eventloop.cpp
+++ b/src/eventloop.cpp
@@ -28,7 +28,7 @@
#include <dbus-c++/eventloop.h>
#include <dbus-c++/debug.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/time.h>
#include <dbus/dbus.h>
diff --git a/src/pipe.cpp b/src/pipe.cpp
index 4a91ddd..ab78ec6 100644
--- a/src/pipe.cpp
+++ b/src/pipe.cpp
@@ -32,7 +32,7 @@
/* STD */
#include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <fcntl.h>
#include <errno.h>
#include <cassert>