[rfa] Include <dirent.h> et al; Was: Why does bfd/trad-core.c include <sys/dir.h>?
Nick Clifton
nickc@cygnus.com
Wed May 31 11:18:00 GMT 2000
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
More information about the Binutils
mailing list