* trad-core.c: From hpux-core.c, include <dirent.h> or

<sys/ndir.h> when possible.
This commit is contained in:
Andrew Cagney 2000-06-01 10:09:30 +00:00
parent ca04024df1
commit 12df4d3c6b
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2000-05-31 Nick Clifton <nickc@cygnus.com>
* opintl.h (_(String)): Explain why dgettext is used instead

View File

@ -25,7 +25,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "libaout.h" /* BFD a.out internal data structures */
#include <sys/param.h>
#include <sys/dir.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#else
# ifdef HAVE_SYS_NDIR_H
# include <sys/ndir.h>
# endif
# ifdef HAVE_SYS_DIR_H
# include <sys/dir.h>
# endif
# ifdef HAVE_NDIR_H
# include <ndir.h>
# endif
#endif
#include <signal.h>
#include <sys/user.h> /* After a.out.h */