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: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: [rfa] Include <dirent.h> et al; Was: Why does bfd/trad-core.c include <sys/dir.h>?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 31 May 2000 13:48:53 +1000
- CC: binutils at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200005301856.LAA06562@elmo.cygnus.com>
Nick Clifton wrote:
>
> 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 :-)
Andrew