Note from Edward Hervey: Patch from git.yoctoproject.org
musl libc generates warnings if <sys/poll.h> is included directly.
Upstream-Status: Pending
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
#include "config.h"
#endif
#include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <errno.h>
#include <fcntl.h>
#include "config.h"
#endif
#include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <errno.h>
#include <fcntl.h>