From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754503AbdBFQRI convert rfc822-to-8bit (ORCPT ); Mon, 6 Feb 2017 11:17:08 -0500 Received: from smtp-out6.electric.net ([192.162.217.187]:55174 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752199AbdBFQRH (ORCPT ); Mon, 6 Feb 2017 11:17:07 -0500 From: David Laight To: "'Stafford Horne'" , "linux-kernel@vger.kernel.org" CC: Ilya Dryomov , "Yan, Zheng" , "Sage Weil" , "David S. Miller" , "ceph-devel@vger.kernel.org" , "netdev@vger.kernel.org" Subject: RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include Thread-Topic: [PATCH 1/2] libceph: Remove unneeded stddef.h include Thread-Index: AQHSf36YUmsZwlLhP0af7XYXLA0wlqFcKU5Q Date: Mon, 6 Feb 2017 16:16:55 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6DB027CAAA@AcuExch.aculab.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.99.200] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Outbound-IP: 213.249.233.130 X-Env-From: David.Laight@ACULAB.COM X-Proto: esmtps X-Revdns: X-HELO: AcuExch.aculab.com X-TLS: TLSv1:AES128-SHA:128 X-Authenticated_ID: X-PolicySMART: 3396946, 3397078 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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