poll.h is defined in POSIX:
http://pubs.opengroup.org/onlinepubs/
009695399/functions/poll.html
This fixes a compile warning when building with musl libc:
In file included from start.c:46:0:
/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys
/poll.h> to <poll.h> [-Werror=cpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
+#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>
-#include <sys/poll.h>
#include <sys/param.h>
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <libgen.h>
+#include <poll.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/poll.h>
#include <sys/ioctl.h>
#include <lxc/lxccontainer.h>
#include <signal.h>
#include <fcntl.h>
#include <termios.h>
+#include <poll.h>
#include <sys/param.h>
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/un.h>
-#include <sys/poll.h>
#include <sys/syscall.h>
#if HAVE_SYS_CAPABILITY_H