Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759996AbXF1Nt1 (ORCPT ); Thu, 28 Jun 2007 09:49:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753799AbXF1NtU (ORCPT ); Thu, 28 Jun 2007 09:49:20 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:27011 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752929AbXF1NtU (ORCPT ); Thu, 28 Jun 2007 09:49:20 -0400 Date: Thu, 28 Jun 2007 15:49:19 +0200 (CEST) From: Jan Engelhardt To: Sam Ravnborg cc: Joerg Schilling , arjan@infradead.org, Linux Kernel Mailing List , schilling@fokus.fraunhofer.de, Ulrich Drepper Subject: Re: Linux Kernel include files In-Reply-To: <20070627171812.GA31705@uranus.ravnborg.org> Message-ID: References: <46826d13.44vmeDzVCWEJhtNJ%Joerg.Schilling@fokus.fraunhofer.de> <20070627171812.GA31705@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 48 On Jun 27 2007 19:18, Sam Ravnborg wrote: > >For my test I used latest -git of the Linux kernel. >In this version the include of ext2_fs_bh.h is guarded >by __KERNEL__ like this: > >#ifdef __KERNEL__ >#include >static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) >{ > return sb->s_fs_info; >} [...] I'll have to chime in here. Test program: #include #include #include #include #include #include #include #include #include #include #include /* get IP_FREEBIND */ Creates a lot of error messages. (Lots of redefinitions.) $ rpm -q linux-kernel-headers glibc linux-kernel-headers-2.6.21-7 glibc-2.6-5 (suse 10.3 factory) So looks like there's still something to do. Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/