#ifndef _LIBHPPA_H
#define _LIBHPPA_H
-#include "sysdep.h"
+#include "../bfd/sysdep.h"
#ifdef HOST_HPPAHPUX
#ifdef HOST_HPPABSD
-/* Defining MAXCOMLEN avoids bringing in several (7 or 8) otherwise
- useless include files which tend to clutter up the namespace.
-
- BSD uses a completely different scheme for object file identification.
+/* BSD uses a completely different scheme for object file identification.
so for now, define _PA_RISC_ID to accept any random value for a model
number. */
+
#include <a.out.h>
-#define MAXCOMLEN 16
+
+/* Not a very swift place to put it, but that's where the BSD port
+ puts them. */
+#include "/hpux/usr/include/sys/core.h"
+#ifndef _PA_RISC_ID
#define _PA_RISC_ID(__m_num) 1
+#endif
#endif /* HOST_HPPABSD */
+/* Defining MAXCOMLEN avoids bringing in several (7 or 8) otherwise
+ useless include files which tend to clutter up the namespace. */
+
+#define MAXCOMLEN 16
+
#define BYTES_IN_WORD 4
struct header;