diff options
author | Matías Fonzo <selk@dragora.org> | 2020-01-20 13:04:15 -0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 17:47:50 +0100 |
commit | d5b27c1f518de51f2c50ef3dfda9994a95d49b7c (patch) | |
tree | fe3ff70ec82d9d3233efd05d7959e2f6af895340 /kdecore/network | |
parent | 319d2b0943912582f1d343d8c3011395d7697a7b (diff) | |
download | tdelibs-d5b27c1f518de51f2c50ef3dfda9994a95d49b7c.tar.gz tdelibs-d5b27c1f518de51f2c50ef3dfda9994a95d49b7c.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>
(cherry picked from commit c2adce2e133c167567df8607a32a420a9825f695)
Diffstat (limited to 'kdecore/network')
-rw-r--r-- | kdecore/network/ksocketdevice.cpp | 2 |
1 files changed, 1 insertions, 1 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 <unistd.h> #ifdef HAVE_POLL -# include <sys/poll.h> +# include <poll.h> #else # ifdef HAVE_SYS_SELECT # include <sys/select.h> |