Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756802AbWKSRVE (ORCPT ); Sun, 19 Nov 2006 12:21:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756806AbWKSRVE (ORCPT ); Sun, 19 Nov 2006 12:21:04 -0500 Received: from mo-p07-ob.rzone.de ([81.169.146.190]:65073 "EHLO mo-p07-ob.rzone.de") by vger.kernel.org with ESMTP id S1756802AbWKSRVC (ORCPT ); Sun, 19 Nov 2006 12:21:02 -0500 Date: Sun, 19 Nov 2006 18:20:47 +0100 (MET) From: Olaf Hering To: Roland Dreier Cc: linux-kernel@vger.kernel.org Subject: Re: uml fails to compile due to missing offsetof Message-ID: <20061119172047.GA7376@aepfle.de> References: <20061119120000.GA4926@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 454 Lines: 12 On Sun, Nov 19, Roland Dreier wrote: > looks weird to me. AFAIK the C standard says that offsetof() comes > from plain old . Does the (untested) patch below fix the > build for you? Yes, it does. - 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/