Subject: sys/dir.h
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Roland McGrath <roland@frob.com>
List: netbsd-bugs
Date: 01/09/1994 18:42:00
sys/dir.h presently does:
#include "dirent.h"
It needs instead to do:
#include <dirent.h>
The first form causes GCC to look first in the directory containing
sys/dir.h, i.e. /usr/include/sys, and so it finds <sys/dirent.h>,
which does not contain all the declarations that 4.2-compatible
<sys/dir.h> must.
------------------------------------------------------------------------------