Move dirent.h include to after sys/types.h
Peter O'Gorman
peter@pogma.com
Wed, 30 Jan 2002 21:51:30 +0900
It is filed as a bug report with apple, but at the moment
sys/types must be included before dirent, the result of not
doing so is an error ( actually a lot of undefined types
errors ).
I haven't got the HEAD building yet, and it may take a while.
You may expect a few more patches, and probably a lot of questions :)
Thanks,
Peter
On Wednesday, January 30, 2002, at 04:36 PM, Dave Peticolas wrote:
> On Tue, 2002-01-29 at 19:52, Peter O'Gorman wrote:
>> Hi, I'm looking at getting HEAD to build on Mac OS X.
>> I thought that I'd start out small..
>> This patch moves #include <dirent.h> in a couple of files so
>> that it gets included after sys/types.h.
>>
>> I don't think that it'll break anything else.
>
> It doesn't seem to. I'm curious, what problems
> did the original ordering cause under OS X?
>
>
>> I assume that this is the right place to send these.
>
> Yes, thank you.
>
> dave
>
>