From 75502a4c90f780070f8de8f828d3521528111404 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 1 Jun 2000 10:09:30 +0000 Subject: [PATCH] * trad-core.c: From hpux-core.c, include or when possible. --- bfd/ChangeLog | 5 +++++ bfd/trad-core.c | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 798ed4d58..475f23d44 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Tue May 30 15:39:04 2000 Andrew Cagney + + * trad-core.c: From hpux-core.c, include or + when possible. + 2000-05-31 Nick Clifton * opintl.h (_(String)): Explain why dgettext is used instead diff --git a/bfd/trad-core.c b/bfd/trad-core.c index aea636679..9cd12c04a 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -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 -#include +#ifdef HAVE_DIRENT_H +# include +#else +# ifdef HAVE_SYS_NDIR_H +# include +# endif +# ifdef HAVE_SYS_DIR_H +# include +# endif +# ifdef HAVE_NDIR_H +# include +# endif +#endif #include #include /* After a.out.h */ -- 2.11.4.GIT