summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2020-01-20 13:04:15 -0300
committerMatías Fonzo <selk@dragora.org>2020-01-22 23:22:11 -0300
commitc2adce2e133c167567df8607a32a420a9825f695 (patch)
tree69925825cc73e60f765c528d1ee4f279359b241f
parent8d74c9c44f75bb427808da876650a074b1319467 (diff)
downloadtdelibs-c2adce2e.tar.gz
tdelibs-c2adce2e.zip
Redirect some headers noticed by the compiler
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h> Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared. Signed-off-by: Matías Fonzo <selk@dragora.org>
-rw-r--r--tdecore/network/tdesocketdevice.cpp2
-rw-r--r--tdeio/tdeio/connection.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tdecore/network/tdesocketdevice.cpp b/tdecore/network/tdesocketdevice.cpp
index e4802bb7c..b97ad0ba0 100644
--- a/tdecore/network/tdesocketdevice.cpp
+++ b/tdecore/network/tdesocketdevice.cpp
@@ -39,7 +39,7 @@
#include <unistd.h>
#ifdef HAVE_POLL
-# include <sys/poll.h>
+# include <poll.h>
#else
# ifdef HAVE_SYS_SELECT
# include <sys/select.h>
diff --git a/tdeio/tdeio/connection.cpp b/tdeio/tdeio/connection.cpp
index fa316f56d..9577ad534 100644
--- a/tdeio/tdeio/connection.cpp
+++ b/tdeio/tdeio/connection.cpp
@@ -27,7 +27,6 @@
#include <tqtimer.h>
#include <sys/types.h>
-#include <sys/signal.h>
#include <sys/time.h>
#include <errno.h>