From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.32]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1U6g1L-0007cB-1f for ptxdist@pengutronix.de; Sat, 16 Feb 2013 12:33:32 +0100 Received: from [93.104.157.160] (helo=localhost) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1U6g1K-0000KL-Dt for ptxdist@pengutronix.de; Sat, 16 Feb 2013 12:33:30 +0100 From: Bernhard Walle Date: Sat, 16 Feb 2013 12:33:28 +0100 Message-Id: <1361014408-41323-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] kconfig: Fix build on Darwin Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Darwin 12.2.0 (Mac OS 10.8) defines CIRCLEQ_HEAD but doesn't define CIRCLEQ_HEAD_INITIALIZER. Since mconf.c uses CIRCLEQ_HEAD_INITIALIZER, the build fails. A simple and safe fix is to always use our own copy of the CIRCLEQ_ macros on every platform. Include "missing.h" and don't include --- scripts/kconfig/expr.h | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 59402a3..041b08e 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -12,7 +12,6 @@ extern "C" { #include #include -#include #ifndef __cplusplus #include #endif -- 1.8.1.3 -- ptxdist mailing list ptxdist@pengutronix.de