From: Stephen Lee Subject: Re: iptables/extensions/libipt_time.c missing include Date: Wed, 28 Jan 2004 03:13:53 +0900 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20040128031228.0625.MUKANSAI@emailplus.org> References: <20040123095234.GA4595@wavehammer.waldi.eu.org> <20040127105745.GG11761@sunbeam.de.gnumonks.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Stephen Lee Return-path: To: netfilter-devel@lists.netfilter.org In-Reply-To: <20040127105745.GG11761@sunbeam.de.gnumonks.org> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Harald Welte wrote: > On Fri, Jan 23, 2004 at 10:52:34AM +0100, Bastian Blank wrote: > > On Fri, Jan 23, 2004 at 03:06:45AM +0100, laurent.ml@linuxfr.org wrote: > > > Tell me if I'm wrong, it seems an include is missing in > > > extensions/libipt_time.c from iptables cvs. > > > (line 302 : offsetof) > > > > You should use instead of . > > At least on my debian machines /usr/include/stddef.h doesn't exist. > > Thus, I'm accepting the patch. On my debian machine stddef.h is in /usr/lib/gcc-lib/i486-linux/3.3.3/include/ and gcc can find it with when compiling normally. Not sure about when compiling a kernel. Stephen