🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.os.bsd
Article #2

Re: syntax err in stat.h !?

#2
From: Hauke Fath
Date: Fri, 30 Jan 1998 00:00
28 lines
1404 bytes
On Thu, 29 Jan 1998 01:17:40 -0500, "Otis Gospodnetic"
<otis@POPULUS.net> wrote:

>I'm trying to compile Harvest on a BSDI box (2.0) and am getting these weird
>_syntax_ errors (below).
>I looked at the offending file, /usr/include/sys/stat.h and it looks just
>fine to me, I don't see any syntax errors at all.

Make sure your program pulls in the header file defining the
missing types (<stddef.h>, methinks) _before_ <sys/stat.h>.

I.e. in agrep.c, say

#include <stddef.h>

...

#include <sys/stat.h>

	hauke

"If the designers of X-Windows built cars, there would be no fewer 
than five steering wheels hidden about the cockpit, none of which 
followed the same principles -- but you'd be able to shift gears 
with your car stereo. Useful feature, that."

     - Marus J. Ranum, Digital Equipment Corporation 
Technical Details
Message-ID: <34d1a640.3874481@news-reader.Dortmund.germany.eu.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6arrdo$9un3@tortola.acunet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fba27,5f8e2d27f8d34e19
X-Google-Attributes: gidfba27,public
X-Google-Thread: 115e02,5f8e2d27f8d34e19
X-Google-Attributes: gid115e02,public
From: hf@Melog.noSpam-Thanks.DE (Hauke Fath)
Subject: Re: syntax err in stat.h !?
Date: 1998/01/30
Message-ID: <34d1a640.3874481@news-reader.Dortmund.germany.eu.net>
X-Deja-AN: 320541349
References: <6arrdo$9un3@tortola.acunet.net>
Organization: Melog Software GmbH -- but my opinions are mine, if anyone's.
Newsgroups: de.comp.os.bsd,fr.comp.os.bsd