This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [rfa] Include <dirent.h> et al; Was: Why does bfd/trad-core.c include <sys/dir.h>?
- To: ac131313 at cygnus dot com
- Subject: Re: [rfa] Include <dirent.h> et al; Was: Why does bfd/trad-core.c include <sys/dir.h>?
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 31 May 2000 11:18:57 -0700
- CC: binutils at sourceware dot cygnus dot com
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