linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: "Maxin B. John" <maxin.john@gmail.com>
Cc: linux-raid@vger.kernel.org, "Maxin B. John" <maxin.john@intel.com>
Subject: Re: [PATCH 1/3][mdadm] util.c: include poll.h instead of sys/poll.h
Date: Mon, 08 Feb 2016 10:59:28 -0500	[thread overview]
Message-ID: <wrfjzivbdwgv.fsf@redhat.com> (raw)
In-Reply-To: <1454711298-32524-1-git-send-email-maxin.john@gmail.com> (Maxin B. John's message of "Sat, 6 Feb 2016 00:28:16 +0200")

"Maxin B. John" <maxin.john@gmail.com> writes:
> From: "Maxin B. John" <maxin.john@intel.com>
>
> 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 <sys/poll.h> to <poll.h>
>  [-Werror=cpp]
>  |  #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
>  |   ^
>
> Signed-off-by: Maxin B. John <maxin.john@intel.com>
> ---
>  util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied!

Thanks,
Jes

>
> diff --git a/util.c b/util.c
> index 970d484..3e6d293 100644
> --- a/util.c
> +++ b/util.c
> @@ -24,7 +24,6 @@
>  
>  #include	"mdadm.h"
>  #include	"md_p.h"
> -#include	<sys/poll.h>
>  #include	<sys/socket.h>
>  #include	<sys/utsname.h>
>  #include	<sys/wait.h>
> @@ -32,6 +31,7 @@
>  #include	<sys/resource.h>
>  #include	<sys/vfs.h>
>  #include	<linux/magic.h>
> +#include	<poll.h>
>  #include	<ctype.h>
>  #include	<dirent.h>
>  #include	<signal.h>

      parent reply	other threads:[~2016-02-08 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 22:28 [PATCH 1/3][mdadm] util.c: include poll.h instead of sys/poll.h Maxin B. John
2016-02-05 22:28 ` [PATCH 2/3][mdadm] mdadm.h: bswap is already defined in uclibc Maxin B. John
2016-02-08 16:00   ` Jes Sorensen
2016-02-08 16:10     ` Maxin B. John
2016-02-10 19:20       ` Jes Sorensen
2016-02-11 11:26         ` Maxin B. John
2016-02-05 22:28 ` [PATCH 3/3][mdadm] Monitor.c: fix compiler error with x32 toolchain Maxin B. John
2016-02-06  1:17   ` Xiao Ni
2016-02-06  5:27     ` Maxin B. John
2016-02-08 15:59 ` Jes Sorensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wrfjzivbdwgv.fsf@redhat.com \
    --to=jes.sorensen@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=maxin.john@gmail.com \
    --cc=maxin.john@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).