From d5b27c1f518de51f2c50ef3dfda9994a95d49b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Fonzo?= Date: Mon, 20 Jan 2020 13:04:15 -0300 Subject: [PATCH] Redirect some headers noticed by the compiler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to Note: has been removed from the tdeio/tdeio/connection.cpp source - it was already declared. Signed-off-by: Matías Fonzo (cherry picked from commit c2adce2e133c167567df8607a32a420a9825f695) --- kdecore/network/ksocketdevice.cpp | 2 +- kio/kio/connection.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kdecore/network/ksocketdevice.cpp b/kdecore/network/ksocketdevice.cpp index 68651b8e2..6db329b59 100644 --- a/kdecore/network/ksocketdevice.cpp +++ b/kdecore/network/ksocketdevice.cpp @@ -39,7 +39,7 @@ #include #ifdef HAVE_POLL -# include +# include #else # ifdef HAVE_SYS_SELECT # include diff --git a/kio/kio/connection.cpp b/kio/kio/connection.cpp index 786fbd5e3..725a85f13 100644 --- a/kio/kio/connection.cpp +++ b/kio/kio/connection.cpp @@ -27,7 +27,6 @@ #include #include -#include #include #include