From owner-freebsd-hackers Wed Feb 21 17:50:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA17528 for hackers-outgoing; Wed, 21 Feb 1996 17:50:43 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA17522 for ; Wed, 21 Feb 1996 17:50:31 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id MAA15423; Thu, 22 Feb 1996 12:16:18 +1030 From: Michael Smith Message-Id: <199602220146.MAA15423@genesis.atrad.adelaide.edu.au> Subject: Re: need help w/rpc stuff To: brantk@gatekeeper.atlas.com (Brant Katkansky) Date: Thu, 22 Feb 1996 12:16:17 +1030 (CST) Cc: hackers@FREEBSD.org In-Reply-To: <9602211943.AA00679@billthecat.atlas.com.> from "Brant Katkansky" at Feb 21, 96 11:43:47 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FREEBSD.org Precedence: bulk Brant Katkansky stands accused of saying: > > I'm porting some proprietary software from SunOS 4.x to run under > FreeBSD 2.1.0-RELEASE and having some problems with included header > files. > > The includes are as follows: > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include ... > I suspect that I need to add one or more additional includes, but I have > no idea. BTW, this code compiles fine under SunOS. Your header ordering is broken. SunOS must be shadow-including behind your back (typical Sun braindamage). This works : #include #include #include #include #include #include #include #include #include #include #include #include #include #include > Brant Katkansky (brantk@atlas.com) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[