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>
pull/64/head
Matías Fonzo 5 years ago
parent 8d74c9c44f
commit c2adce2e13
No known key found for this signature in database
GPG Key ID: 3AAF1CEC203A99D5

@ -39,7 +39,7 @@
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
# include <sys/poll.h> # include <poll.h>
#else #else
# ifdef HAVE_SYS_SELECT # ifdef HAVE_SYS_SELECT
# include <sys/select.h> # include <sys/select.h>

@ -27,7 +27,6 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/signal.h>
#include <sys/time.h> #include <sys/time.h>
#include <errno.h> #include <errno.h>

Loading…
Cancel
Save