Why does bfd/trad-core.c include <sys/dir.h>?
Michael Sokolov
msokolov@ivan.Harhan.ORG
Thu Apr 20 07:04:00 GMT 2000
Andrew Cagney <ac131313@cygnus.com> wrote:
> bfd/trad-core.c includes <sys/dir.h> (unconditionally). My Solaris
> 2.5.1 machine tells me:
>
> /usr/include/sys/dir.h:41: warning: #warning "The information in this
> file should be obtained from <dirent.h>"
> /usr/include/sys/dir.h:42: warning: #warning "and is provided solely
> (and temporarily) for backward compatibility."
I hope you know that <dirent.h> exists only on SysVile/POSIX systems, on pure
UNIX/BSD you need <sys/dir.h>.
--
Michael Sokolov Harhan Engineering Laboratory
Public Service Agent International Free Computing Task Force
International Engineering and Science Task Force
615 N GOOD LATIMER EXPY STE #4
DALLAS TX 75204-5852 USA
Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
More information about the Binutils
mailing list