Skip to content

Commit

Permalink
mainloop: s,sys/poll,poll
Browse files Browse the repository at this point in the history
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 <sys/poll.h> to <poll.h> [-Werror=cpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~

Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
  • Loading branch information
tych0 authored and Christian Brauner committed Oct 14, 2021
1 parent 2aad32d commit eb218b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/mainloop.c
Expand Up @@ -8,7 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/epoll.h>
#include <unistd.h>

Expand Down

0 comments on commit eb218b3

Please sign in to comment.