From owner-freebsd-questions Wed Oct 17 18:42:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id A57F637B401 for ; Wed, 17 Oct 2001 18:42:46 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15u2Cr-000DR1-00; Thu, 18 Oct 2001 14:42:45 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9I1gi970720; Thu, 18 Oct 2001 14:42:44 +1300 (NZDT) (envelope-from jonc) Date: Thu, 18 Oct 2001 14:42:44 +1300 From: Jonathan Chen To: lahaye@users.sourceforge.net Cc: freebsd-questions@freebsd.org Subject: Re: sys/event.h & sys/select.h broken ? Message-ID: <20011018144244.B70642@jonc.itouch> References: <20011018.AAA1003360800@postech.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011018.AAA1003360800@postech.ac.kr>; from lahaye@postech.ac.kr on Thu, Oct 18, 2001 at 08:22:15AM +0900 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 On Thu, Oct 18, 2001 at 08:22:15AM +0900, Rob Lahaye wrote: > Hi, > > [ using FreeBSD 4.4 on Pentium PC ] > > The following small code example fails to compile: > > /* BEGIN */ > #include > int main(void) { return 0; } > /* END */ Well, not surprising , since this piece of code is wrong. You're missing a file to #include. -- Jonathan Chen ---------------------------------------------------------------------- When all else fails, RTFM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message