From: Tycho Andersen Date: Tue, 10 Aug 2021 14:45:21 +0000 (-0600) Subject: mainloop: s,sys/poll,poll X-Git-Tag: lxc-5.0.0~118^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3929%2Fhead;p=thirdparty%2Flxc.git mainloop: s,sys/poll,poll I get the following warning (which then fails the build because of -Werror): In file included from mainloop.c:11: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ Signed-off-by: Tycho Andersen --- diff --git a/src/lxc/mainloop.c b/src/lxc/mainloop.c index c5bb5df54..6261e2cbf 100644 --- a/src/lxc/mainloop.c +++ b/src/lxc/mainloop.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include