aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>