Subject: Re: Unable to C-compile simple program
To: Patrick Welche <prlw1@cam.ac.uk>
From: Klaus Klein <kleink@ira.uka.de>
List: port-arm32
Date: 08/03/1998 15:52:56
prlw1@cam.ac.uk (Patrick Welche) writes:

> > When I try to compile the following program:
> > 
> > #include    <stdio.h>
> > #include    <dirent.h>
> 
> How about
> 
>   #include <stdio.h>
>   #include <sys/types.h>
>   #include <sys/dir.h>

Keep in mind that <sys/dir.h> is an obsolete header - if you want your
program to be portable (within POSIX), <dirent.h> is indeed the way to
go.


-- Get your official NetBSD-1.3.2 CDROM set today! http://www.netbsd.com/ --