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: [rfa] Include <dirent.h> et al; Was: Why does bfd/trad-core.c include <sys/dir.h>?


Hi Andrew,

: > : Tue May 30 15:39:04 2000  Andrew Cagney  <cagney@b1.cygnus.com>
: > :
: > :       * trad-core.c: From hpux-core.c, include <dirent.h> or
: > :       <sys/ndir.h> when possible.
: > 
: > Shouldn't this kind of code go into bfd/sysdep.h ?  Possibly
: > conditional on NEEDS_DIRENT or somehting like that ?
: 
: I have no idea (GDB now has gdb_dirent.h).  I'm simply cloning an
: existing pratice :-)

Well I see that hpux-core.c has the same thing, so it would appear
that that is the standard way to handle it in BFD as well.  So please
go ahead and check your patch in.

Cheers
	Nick

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