aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2002-03-21 02:05:01 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2002-03-21 02:05:01 +0000
commitda27380a4991375b25b6574ea0a1bae943e0f351 (patch)
tree1566a3472c0f3cadffe03cf59568897d0d412c0c
parent86dc77d5ed098cc28586ff400116b56dbca9d608 (diff)
downloadgdb-da27380a4991375b25b6574ea0a1bae943e0f351.zip
gdb-da27380a4991375b25b6574ea0a1bae943e0f351.tar.gz
gdb-da27380a4991375b25b6574ea0a1bae943e0f351.tar.bz2
Merge from mainline:
2002-03-20 David O'Brien <obrien@FreeBSD.org> * sparc-nat.c: Include sys/param.h where possible.
-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 00071fd..3f7c229 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-12 David O'Brien <obrien@FreeBSD.org>
* config/sparc/fbsd.mh: Fix copyright.
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>