From owner-freebsd-questions Tue Jun 18 17:24:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f78.pav1.hotmail.com [64.4.31.78]) by hub.freebsd.org (Postfix) with ESMTP id 9BCEF37B406 for ; Tue, 18 Jun 2002 17:24:44 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 18 Jun 2002 17:24:44 -0700 Received: from 62.175.124.109 by pv1fd.pav1.hotmail.msn.com with HTTP; Wed, 19 Jun 2002 00:24:44 GMT X-Originating-IP: [62.175.124.109] From: "Oscar Rodriguez Galiano" To: freebsd-questions@FreeBSD.ORG Subject: timeout Date: Wed, 19 Jun 2002 02:24:44 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jun 2002 00:24:44.0592 (UTC) FILETIME=[B6170300:01C21727] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I want to use the function timeout, and in the man pages it show that this function needs the headers and When I compile my program it returns the following error: In file included from analizador.h:2, from barrido_ping.c:1: /usr/include/sys/systm.h:333: syntax error before 'int' /usr/include/sys/systm.h:334: syntax error before 'int' /usr/include/sys/systm.h:335: syntax error before '(' In file included from analizador.h:2, from escaneo_puertos.c:1: /usr/include/sys/systm.h:333: syntax error before 'int' /usr/include/sys/systm.h:334: syntax error before 'int' /usr/include/sys/systm.h:335: syntax error before '(' i think that systm.h has some kind of incompatibility with some header or that systm.h needs some other header. *************analizador.h************** #include #include #include #include #include #include #include #include #include #include *************escaneo_puertos.c************** #include "analizador.h" #include #include #include thank you for all _________________________________________________________________ Descargue GRATUITAMENTE MSN Explorer en http://explorer.yupimsn.com/intl.asp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message