aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2002-03-21 02:03:13 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2002-03-21 02:03:13 +0000
commit7781cd62b41e515209907417b97d1cad9b3ad426 (patch)
treeac03a66576d0e1494ae7375cfcf4cc3c05c7d666
parentf65ca430eb1613be683a3e6dbcad7a449c80b85c (diff)
downloadgdb-7781cd62b41e515209907417b97d1cad9b3ad426.zip
gdb-7781cd62b41e515209907417b97d1cad9b3ad426.tar.gz
gdb-7781cd62b41e515209907417b97d1cad9b3ad426.tar.bz2
2002-03-20 David O'Brien <obrien@FreeBSD.org>
* sparc-nat.c: Include sys/param.h where possible. Approved by: Michael Snyder <msnyder@redhat.com> Message-ID: <3C98FF43.46ABDC1C@redhat.com>
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/sparc-nat.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 45f050a..310e689 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-20 David O'Brien <obrien@FreeBSD.org>
+
+ * sparc-nat.c: Include sys/param.h where possible.
+
2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/422.
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index f628b0e..7069c3a 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -25,6 +25,9 @@
#include "gdbcore.h"
#include "regcache.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include <signal.h>
#include <sys/ptrace.h>
#include <sys/wait.h>