From: Maxin B. John Date: Fri, 5 Feb 2016 22:28:16 +0000 (+0200) Subject: util.c: include poll.h instead of sys/poll.h X-Git-Tag: mdadm-4.0~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=986b8688171195667a71efe5d60953d08269a15f;p=thirdparty%2Fmdadm.git util.c: include poll.h instead of sys/poll.h This fixes a compile warning when building with musl: In file included from util.c:27:0: | qemux86-64/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] | #warning redirecting incorrect #include to | ^ Signed-off-by: Maxin B. John Signed-off-by: Jes Sorensen --- diff --git a/util.c b/util.c index 6e7d3fb9..96a806d4 100644 --- a/util.c +++ b/util.c @@ -24,7 +24,6 @@ #include "mdadm.h" #include "md_p.h" -#include #include #include #include @@ -32,6 +31,7 @@ #include #include #include +#include #include #include #include