summaryrefslogtreecommitdiff
path: root/bfd/sco5-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
commit05c9c5ca5d95df2837e941b536067bd253015f3d (patch)
tree6bb9c907e2c992617682e142205d26c04fcc3e89 /bfd/sco5-core.c
parent62d7791ea134724e78206888aa1d21fbff0582a9 (diff)
downloadbinutils-redhat-05c9c5ca5d95df2837e941b536067bd253015f3d.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/sco5-core.c')
-rw-r--r--bfd/sco5-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c
index f09eadafe8..d10dbfa9d3 100644
--- a/bfd/sco5-core.c
+++ b/bfd/sco5-core.c
@@ -31,8 +31,10 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#include <signal.h>
#include <sys/user.h> /* After a.out.h */
+#ifdef SCO5_CORE
#include <sys/paccess.h>
#include <sys/region.h>
+#endif
struct sco5_core_struct
{