From patchwork Thu Dec 22 06:20:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stewart Smith X-Patchwork-Id: 708157 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tkhHf1lyzz9t0w for ; Thu, 22 Dec 2016 17:21:34 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3tkhHd0TB1zDwbD for ; Thu, 22 Dec 2016 17:21:33 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tkhGl50DhzDwNc for ; Thu, 22 Dec 2016 17:20:47 +1100 (AEDT) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uBM6JWEp017340 for ; Thu, 22 Dec 2016 01:20:45 -0500 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0b-001b2d01.pphosted.com with ESMTP id 27g1uunkbk-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Dec 2016 01:20:45 -0500 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Dec 2016 23:20:44 -0700 Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Dec 2016 23:20:43 -0700 Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id 860903E40044 for ; Wed, 21 Dec 2016 23:20:42 -0700 (MST) Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uBM6Kg3c11862526; Wed, 21 Dec 2016 23:20:42 -0700 Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 64DFA136040; Wed, 21 Dec 2016 23:20:42 -0700 (MST) Received: from birb.localdomain (unknown [9.185.16.22]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP id EBE8E13603C; Wed, 21 Dec 2016 23:20:41 -0700 (MST) Received: by birb.localdomain (Postfix, from userid 1000) id 25C212273ED6; Thu, 22 Dec 2016 17:20:37 +1100 (AEDT) From: Stewart Smith To: skiboot@lists.ozlabs.org Date: Thu, 22 Dec 2016 17:20:33 +1100 X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161222062036.8454-1-stewart@linux.vnet.ibm.com> References: <20161222062036.8454-1-stewart@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16122206-0008-0000-0000-000006657C1C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006294; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000198; SDB=6.00797304; UDB=6.00387054; IPR=6.00575110; BA=6.00004998; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013682; XFM=3.00000011; UTC=2016-12-22 06:20:44 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16122206-0009-0000-0000-00003E113B53 Message-Id: <20161222062036.8454-9-stewart@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-22_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1612220106 Subject: [Skiboot] [PATCH 08/11] print-stb-container: Fix build on centos7 X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Because of ordering of include files, we got: /usr/include/bits/stat.h:106:31: error: expected identifier or '(' before '[' token __syscall_slong_t __unused[3]; Signed-off-by: Stewart Smith --- libstb/test/print-stb-container.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libstb/test/print-stb-container.c b/libstb/test/print-stb-container.c index 8ce623d..92a3ab5 100644 --- a/libstb/test/print-stb-container.c +++ b/libstb/test/print-stb-container.c @@ -18,8 +18,6 @@ #include #include -#include "../container.h" -#include "../container.c" #include #include @@ -32,6 +30,9 @@ #include #include +#include "../container.h" +#include "../container.c" + static void display_version_raw(const ROM_version_raw v) { printf("ver_alg:\n");