From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 17:09:10 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E11516A41F for ; Wed, 7 Sep 2005 17:09:10 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id B660643D46 for ; Wed, 7 Sep 2005 17:09:08 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j87H94WD003662; Wed, 7 Sep 2005 20:09:05 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j87H91nJ011658; Wed, 7 Sep 2005 20:09:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j87H8wAj011657; Wed, 7 Sep 2005 20:08:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Wed, 7 Sep 2005 20:08:58 +0300 From: Giorgos Keramidas To: alicornio Message-ID: <20050907170858.GA11637@orion.daedalusnetworks.priv> References: <20050907_165009_022627.alicornio@ig.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050907_165009_022627.alicornio@ig.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: about ip.h X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 17:09:10 -0000 On 2005-09-07 13:50, alicornio wrote: Content-Description: Mail message body > hello all > > i have a problem when i try to compile a code. this is the error: > > in file included from packetCreate.c:5: > /usr/include/netinet/ip.h:160: error: systax error before "n_long" > /usr/include/netinet/ip.h:163: error: systax error before "n_long" > > then searching in the ip.h i change "n_long" to "u_long" and the code was > compiled well. #include #include should work