*BSD News Article 26349


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:8150 comp.os.386bsd.misc:1863
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!gatekeeper.us.oracle.com!decwrl!apple!kaleida.com!conklin
From: conklin@kaleida.com (J.T. Conklin)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Re: Httpd for FreeBSD.. anyone?
Date: 21 Jan 1994 18:31:42 GMT
Organization: Winning Strategies, Inc.
Lines: 24
Message-ID: <CONKLIN.94Jan21103143@ngai.kaleida.com>
References: <2ho8iv$oca@ntx.City.UniSA.edu.au>
Reply-To: conklin@kaleida.com
NNTP-Posting-Host: ngai.kaleida.com
In-reply-to: deraad@CUTL.City.UniSA.edu.au's message of 21 Jan 1994 09:51:27 GMT

In article <2ho8iv$oca@ntx.City.UniSA.edu.au> deraad@CUTL.City.UniSA.edu.au (Mark de Raad) writes:

Mark> I was wondering whether anyone has compiled the NCSA (or other) http
Mark> daemon for FreeBSD (1.02)?.. It keep coming up with complaints about
Mark> my dirent.h file, specifically:
      
      ...

Mark> This seems to indicated a broken dirent.h file, but I have never run 
Mark> into this problem before.

My POSIX pocket reference card says that <sys/types.h> is supposed to
be included before <dirent.h>.  NCSA didn't do that, most systems let
you get away without it.  I sent them a note after I encountered the
problem, and they promised to fix it for the next release.  All you
need to do is to include <sys/types.h> before <dirent.h> in httpd.h.

	--jtc

--
J.T. Conklin
NetBSD Standards Weenie