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 wrote:
> 
> Hello,
> 
> 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."
> 
> what really puzzles me is that I can't see any obvious <dirent.h>
> dependant code in the file.

Sorry,  this occures on a FreeBSD 3.4 i386 system.

	Andrew

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