Redirect some headers noticed by the compiler

[..]
In file included from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/common.h:102,
                 from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.h:10,
                 from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.c:12:
/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>
[..]

For reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/pulls/64

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit b52ef67d4a)
pull/182/head
Matías Fonzo 4 years ago committed by Slávek Banko
parent f23894cb56
commit b48ed89e85
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -99,7 +99,7 @@
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <sys/poll.h>
#include <poll.h>
#include <assert.h>
#include <time.h>
#include <ctype.h>

Loading…
Cancel
Save