From: David Laight <David.Laight@ACULAB.COM>
To: "'Stafford Horne'" <shorne@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Ilya Dryomov <idryomov@gmail.com>, "Yan, Zheng" <zyan@redhat.com>,
"Sage Weil" <sage@redhat.com>,
"David S. Miller" <davem@davemloft.net>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include
Date: Mon, 6 Feb 2017 16:16:55 +0000 [thread overview]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6DB027CAAA@AcuExch.aculab.com> (raw)
In-Reply-To: <b49a86823ae528ff795c8931f68392535b0fccf7.1486276931.git.shorne@gmail.com>
From: Stafford Horne
> Sent: 05 February 2017 07:08
> This was causing a build failure for openrisc when using musl and
> gcc 5.4.0 since the file is not available in the toolchain.
>
> It doesnt seem this is needed and removing it does not cause any build
> warnings for me.
Hmmm... stddef.h is part of the SuS v2.
Required to get definitions for NULL, offsetof(), ptrdiff_t and size_t.
So any system that is pretending to by unix-like ought to have one.
David
next prev parent reply other threads:[~2017-02-06 16:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-05 7:07 [PATCH 0/2] Remove unneeded stddef.h includes Stafford Horne
2017-02-05 7:07 ` [PATCH 1/2] libceph: Remove unneeded stddef.h include Stafford Horne
2017-02-06 10:19 ` Ilya Dryomov
2017-02-06 16:16 ` David Laight [this message]
2017-02-07 2:45 ` Stafford Horne
2017-02-05 7:07 ` [PATCH 2/2] staging: vchip_shim: " Stafford Horne
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=063D6719AE5E284EB5DD2968C1650D6DB027CAAA@AcuExch.aculab.com \
--to=david.laight@aculab.com \
--cc=ceph-devel@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=idryomov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sage@redhat.com \
--cc=shorne@gmail.com \
--cc=zyan@redhat.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
all inboxes | Powered by JetHome®