This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Include param.h on FreeBSD/i386


I applied this patch to both mainline and 5.2_branch:

2002-06-28  David O'Brien  <obrien@FreeBSD.org>

	* config/i386/nm-fbsd.h: Include <sys/param.h>.
	* config/i386/tm-fbsd.h: Likewise.

Index: config/i386/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-fbsd.h,v
retrieving revision 1.6
diff -u -r1.6 nm-fbsd.h
--- config/i386/nm-fbsd.h	31 Mar 2002 17:47:17 -0000	1.6
+++ config/i386/nm-fbsd.h	28 Jun 2002 18:44:16 -0000
@@ -28,6 +28,10 @@
 
 #include "i386/nm-i386.h"
 
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
 /* Provide access to the i386 hardware debugging registers.  */
 
 #define I386_DR_LOW_SET_CONTROL(control) \
Index: config/i386/tm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/tm-fbsd.h,v
retrieving revision 1.7
diff -u -r1.7 tm-fbsd.h
--- config/i386/tm-fbsd.h	15 Jun 2002 18:09:31 -0000	1.7
+++ config/i386/tm-fbsd.h	28 Jun 2002 18:44:16 -0000
@@ -23,6 +23,10 @@
 
 #include "i386/tm-i386.h"
 
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
 /* These defines allow the recognition of sigtramps as a function name
    <sigtramp>.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]