summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2020-01-25 19:05:53 -0300
committerSlávek Banko <slavek.banko@axis.cz>2020-01-27 22:24:52 +0100
commitb48ed89e853087b2ba43b7eec1dad65d418daeae (patch)
treefabe933a98b744fb00d755c3903644fb10b9861f
parentf23894cb5613ef41465106a4a029f60a97df12d6 (diff)
downloadtdebase-b48ed89e853087b2ba43b7eec1dad65d418daeae.tar.gz
tdebase-b48ed89e853087b2ba43b7eec1dad65d418daeae.zip
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 b52ef67d4a2208dfd9ea6c7618cbbc05c85c02f3)
-rw-r--r--twin/compton-tde/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/twin/compton-tde/common.h b/twin/compton-tde/common.h
index bcc2ad68b..9091fc582 100644
--- a/twin/compton-tde/common.h
+++ b/twin/compton-tde/common.h
@@ -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>