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 4 yıl önce
ebeveyn 8d74c9c44f
işleme c2adce2e13
İmzalayan: selk
GPG Anahtar Kimliği: 3AAF1CEC203A99D5

@ -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>

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

Yükleniyor…
İptal
Kaydet