This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix build on hpux 11.31


The header file <sys/user.h> is nolonger included with recent hpux releases.
The file is not needed to build on 11.31.  I tested that it is also not needed
on 10.20 and 11.11.  So, I decided to just remove the include.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2008-11-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* hpux-core.c: Don't include sys/file.h.

Index: hpux-core.c
===================================================================
RCS file: /cvs/src/src/bfd/hpux-core.c,v
retrieving revision 1.23
diff -u -3 -p -r1.23 hpux-core.c
--- hpux-core.c	3 Jul 2007 14:26:42 -0000	1.23
+++ hpux-core.c	28 Nov 2008 18:43:39 -0000
@@ -66,7 +66,6 @@
 #ifdef HPUX_CORE
 #include <machine/reg.h>
 #endif
-#include <sys/user.h>		/* After a.out.h  */
 #include <sys/file.h>
 
 /* Kludge: There's no explicit mechanism provided by sys/core.h to


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]