aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-hp300hpux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-hp300hpux.h')
-rw-r--r--gdb/xm-hp300hpux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/xm-hp300hpux.h b/gdb/xm-hp300hpux.h
index 79bc6da..36790c5 100644
--- a/gdb/xm-hp300hpux.h
+++ b/gdb/xm-hp300hpux.h
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* HP/UX is USG, but it does have <ptrace.h> */
+#include <sys/ptrace.h>
+
#define HOST_BYTE_ORDER BIG_ENDIAN
/* Define this to indicate problems with traps after continuing. */
@@ -41,6 +44,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef USG /* In case it was defined in the Makefile for cplus-dem.c */
#define USG
+/* The mem functions are in <string.h>. */
+#undef MEM_FNS_DECLARED
+#define MEM_FNS_DECLARED 1
+
#define HAVE_TERMIO
/* Get rid of any system-imposed stack limit if possible. */