Browse Source

Redirect some headers noticed by the compiler

/usr/include/sys/poll.h2: 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.h2: 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 8 months ago
parent
commit
c2adce2e13
Signed by: selk GPG Key ID: 3AAF1CEC203A99D5
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      tdecore/network/tdesocketdevice.cpp
  2. +0
    -1
      tdeio/tdeio/connection.cpp

+ 1
- 1
tdecore/network/tdesocketdevice.cpp View File

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


+ 0
- 1
tdeio/tdeio/connection.cpp View File

@@ -27,7 +27,6 @@
#include <tqtimer.h>

#include <sys/types.h>
#include <sys/signal.h>
#include <sys/time.h>

#include <errno.h>


Loading…
Cancel
Save