From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 17:45:50 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 BC34316A439 for ; Wed, 7 Sep 2005 17:45:50 +0000 (GMT) (envelope-from alicornio@ig.com.br) Received: from smtp-30.ig.com.br (smtp-30.ig.com.br [200.226.132.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4D5543D46 for ; Wed, 7 Sep 2005 17:45:49 +0000 (GMT) (envelope-from alicornio@ig.com.br) Received: (qmail 19206 invoked from network); 7 Sep 2005 17:45:43 -0000 Received: from 65.131.226.200.in-addr.arpa.ig.com.br (HELO localhost.localdomain) ([200.226.131.65]) (envelope-sender ) by email-30.ig.com.br (qmail-ldap-1.03) with SMTP for ; 7 Sep 2005 17:45:43 -0000 To: keramida@ceid.upatras.gr From: alicornio Date: Wed, 7 Sep 2005 14:45:44 -0300 X-Priority: 3 (Normal) Message-ID: <20050907_174544_061480.alicornio@ig.com.br> X-Originating-IP: [10.17.1.65]200.151.6.109 X-Mailer: iGMail [www.ig.com.br] X-user: alicornio@ig.com.br Teste: asaes MIME-Version: 1.0 Content-type: multipart/mixed; boundary="Message-Boundary-by-Mail-Sender-1126115144" 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:45:50 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Message-Boundary-by-Mail-Sender-1126115144 Content-type: text/plain; charset=ISO-8859-1 Content-description: Mail message body Content-transfer-encoding: 8bit Content-disposition: inline Thanks Giorgos work very well :-) thiago_cabeludo >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 > >---------- --Message-Boundary-by-Mail-Sender-1126115144--