summaryrefslogtreecommitdiff
path: root/bfd/osf-core.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-10-29 23:00:12 +0000
committerH.J. Lu <hjl@lucon.org>2005-10-29 23:00:12 +0000
commit91a199b9fd80cc2c023278aa27ffa0599a87f22f (patch)
treec12ac8f42f286573da4c2d8ab3543814b0a92b0e /bfd/osf-core.c
parent12987a40f77a70d8eb6ce18860245a6218e671d7 (diff)
downloadgdb-91a199b9fd80cc2c023278aa27ffa0599a87f22f.tar.gz
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is define. * osf-core.c: Include <sys/core.h> only if OSF_CORE is defined. * sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only if SCO5_CORE is defined.
Diffstat (limited to 'bfd/osf-core.c')
-rw-r--r--bfd/osf-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/osf-core.c b/bfd/osf-core.c
index 1ad0a362f5b..35aa82df43e 100644
--- a/bfd/osf-core.c
+++ b/bfd/osf-core.c
@@ -26,7 +26,9 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#include "libbfd.h"
#include <sys/user.h>
+#ifdef OSF_CORE
#include <sys/core.h>
+#endif
/* forward declarations */