From patchwork Thu May 31 18:33:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 162217 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 481ABB6FBA for ; Fri, 1 Jun 2012 04:40:47 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758339Ab2EaSkm (ORCPT ); Thu, 31 May 2012 14:40:42 -0400 Received: from filtteri1.pp.htv.fi ([213.243.153.184]:59335 "EHLO filtteri1.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758155Ab2EaSkl (ORCPT ); Thu, 31 May 2012 14:40:41 -0400 X-Greylist: delayed 422 seconds by postgrey-1.27 at vger.kernel.org; Thu, 31 May 2012 14:40:40 EDT Received: from localhost (localhost [127.0.0.1]) by filtteri1.pp.htv.fi (Postfix) with ESMTP id EFC1921B14F; Thu, 31 May 2012 21:33:37 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp5.welho.com ([213.243.153.39]) by localhost (filtteri1.pp.htv.fi [213.243.153.184]) (amavisd-new, port 10024) with ESMTP id Oxa8rZ1NfNzs; Thu, 31 May 2012 21:33:37 +0300 (EEST) Received: from dell.pp.htv.fi (cs181221203.pp.htv.fi [82.181.221.203]) by smtp5.welho.com (Postfix) with ESMTP id 92DAF5BC005; Thu, 31 May 2012 21:33:37 +0300 (EEST) From: Aaro Koskinen To: davem@davemloft.net, sparclinux@vger.kernel.org Subject: [PATCH] silo: include stddef.h in stringops.h Date: Thu, 31 May 2012 21:33:35 +0300 Message-Id: <1338489215-2047-1-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 1.7.2.5 Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org I recompiled toolchain/glibc/everything from scratch against Linux 3.4 headers and silo won't compile anymore: file.c:60:5: error: 'NULL' undeclared here (not in a function) fs/ext2.c:401:7: error: 'NULL' undeclared (first use in this function) fs/isofs.c:57:45: error: 'NULL' undeclared (first use in this function) etc. Fix by including stddef.h. Signed-off-by: Aaro Koskinen --- include/stringops.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/stringops.h b/include/stringops.h index 9973485..4fca34f 100644 --- a/include/stringops.h +++ b/include/stringops.h @@ -2,6 +2,7 @@ #define __STRINGOPS_H #include +#include /* common */ #ifndef __SIZE_TYPE__