This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
(FWD) [PATCH] include sys/param.h for sparc
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 19 Mar 2002 10:16:27 -0800
- Subject: (FWD) [PATCH] include sys/param.h for sparc
- Organization: The NUXI BSD group
- Reply-to: obrien at FreeBSD dot org
____ _ _
| _ \ (_) _ __ __ _ | |
| |_) | | | | '_ \ / _` | | |
| __/ | | | | | | | (_| | |_|
|_| |_| |_| |_| \__, | (_)
|___/
----- Forwarded message from David O'Brien <obrien@FreeBSD.org> -----
Subject: [PATCH] include sys/param.h for sparc
Date: Tue, 12 Mar 2002 19:23:46 -0800
To: gdb-patches@sources.redhat.org
OK to apply?
Needed in the sparc64-*-freebsd* build.
2002-03-12 David O'Brien <obrien@FreeBSD.org>
* sparc-nat.c: Include sys/param.h where possible.
Index: sparc-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-nat.c,v
retrieving revision 1.11
diff -u -r1.11 sparc-nat.c
--- sparc-nat.c 2001/11/26 16:42:11 1.11
+++ sparc-nat.c 2002/03/13 03:22:24
@@ -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>
----- End forwarded message -----