From patchwork Sat Apr 9 20:55:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Ochs X-Patchwork-Id: 696251 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p39KttF1009198 for ; Sat, 9 Apr 2011 20:55:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757654Ab1DIUzw (ORCPT ); Sat, 9 Apr 2011 16:55:52 -0400 Received: from paul.0au.de ([94.23.237.123]:40616 "EHLO 0au.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755660Ab1DIUzv (ORCPT ); Sat, 9 Apr 2011 16:55:51 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 09 Apr 2011 20:55:55 +0000 (UTC) X-Greylist: delayed 1960 seconds by postgrey-1.27 at vger.kernel.org; Sat, 09 Apr 2011 16:55:51 EDT Received: from mail by 0au.de with spam-scanned (Exim 4.74) (envelope-from ) id 1Q8fCB-0005XJ-0n for linux-kbuild@vger.kernel.org; Sat, 09 Apr 2011 22:55:51 +0200 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on paul X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, MISSING_HEADERS autolearn=no version=3.3.1 X-Spam-Score: -1.9 Received: from dslb-094-217-139-139.pools.arcor-ip.net ([94.217.139.139] helo=erwin) by 0au.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.74) (envelope-from ) id 1Q8fC7-0005X9-04; Sat, 09 Apr 2011 22:55:47 +0200 Date: Sat, 9 Apr 2011 22:55:32 +0200 From: Valentin Ochs Cc: trivial@kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fixdep: define _POSIX_C_SOURCE Message-ID: <20110409205532.GE4663@erwin> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) To: unlisted-recipients:; (no To-header on input) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org fixdep.c uses PATH_MAX without defining the required _POSIX_C_SOURCE feature test macro. This prevents compilation with the musl libc. The patch applies to 2.6.38.2. Best regards, Valentin Signed-off-by: Valentin Ochs --- -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -102,6 +102,7 @@ * through arch/um/include/uml-config.h; this fixdep "bug" makes sure that * those files will have correct dependencies. */ +#define _POSIX_C_SOURCE 200809L #include #include #include