This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does bfd/trad-core.c include <sys/dir.h>?


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]