2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)
* 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.

bfd/ChangeLog
bfd/hpux-core.c
bfd/osf-core.c
bfd/sco5-core.c

index 22bd2a77f2a8a7244506ce5358f4124f50379fa8..8644e753607b564228b212bc485ce4dd565e3462 100644 (file)
@@ -1,3 +1,11 @@
+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.
+
 2005-10-29  Mark Kettenis  <kettenis@gnu.org>
 
        * Makefile.am: Run "make dep-am".
index e68a715b588fd5e18a2c052224ac50ffb2322c14..9a97531eb93433c9a4f3d82062155ad925d41828 100644 (file)
@@ -61,7 +61,9 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 # endif
 #endif
 #include <signal.h>
+#ifdef HPUX_CORE
 #include <machine/reg.h>
+#endif
 #include <sys/user.h>          /* After a.out.h  */
 #include <sys/file.h>
 
index 1ad0a362f5b7fd60fe55ec584793fd1cef9afaf5..35aa82df43ee1b889e12339896bf0e0315615468 100644 (file)
@@ -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 */
 
index f09eadafe8c9a4d465caff9418f86b332a5c8ea5..d10dbfa9d3da8e743fcfb5c8e67da9467de53482 100644 (file)
@@ -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
 {