Commit: ERC32: Include config.h before system header files
Nick Clifton
nickc@redhat.com
Thu Aug 16 07:56:00 GMT 2012
Hi Guys,
I am applying the patch below as an obvious fix for building the Sparc
simulator.
Cheers
Nick
sim/erc32/ChangeLog
2012-08-16 Nick Clifton <nickc@redhat.com>
* end.c: Include config.h before system header files.
* erc32.c: Likewise.
* exec.c: Likewise.
* float.c: Likewise.
* func.c: Likewise.
* help.c: Likewise.
* interf.c: Likewise.
Index: sim/erc32/end.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/end.c,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 end.c
--- sim/erc32/end.c 16 Apr 1999 01:35:00 -0000 1.1.1.1
+++ sim/erc32/end.c 16 Aug 2012 07:50:10 -0000
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdio.h>
int
Index: sim/erc32/erc32.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/erc32.c,v
retrieving revision 1.3
diff -u -3 -p -r1.3 erc32.c
--- sim/erc32/erc32.c 11 May 2010 14:18:20 -0000 1.3
+++ sim/erc32/erc32.c 16 Aug 2012 07:50:10 -0000
@@ -22,6 +22,7 @@
/* The control space devices */
+#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
Index: sim/erc32/exec.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/exec.c,v
retrieving revision 1.3
diff -u -3 -p -r1.3 exec.c
--- sim/erc32/exec.c 11 Nov 2008 22:20:54 -0000 1.3
+++ sim/erc32/exec.c 16 Aug 2012 07:50:11 -0000
@@ -20,6 +20,7 @@
*
*/
+#include "config.h"
#include "sis.h"
#include "end.h"
#include <math.h>
Index: sim/erc32/float.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/float.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 float.c
--- sim/erc32/float.c 7 Mar 2005 11:09:05 -0000 1.2
+++ sim/erc32/float.c 16 Aug 2012 07:50:11 -0000
@@ -32,6 +32,7 @@
* This can also be done using ieee_flags() library routine on sun.
*/
+#include "config.h"
#include "sis.h"
/* Forward declarations */
Index: sim/erc32/func.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/func.c,v
retrieving revision 1.5
diff -u -3 -p -r1.5 func.c
--- sim/erc32/func.c 11 May 2010 14:18:20 -0000 1.5
+++ sim/erc32/func.c 16 Aug 2012 07:50:11 -0000
@@ -20,6 +20,7 @@
*
*/
+#include "config.h"
#include <signal.h>
#include <string.h>
#include <stdio.h>
Index: sim/erc32/help.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/help.c,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 help.c
--- sim/erc32/help.c 16 Apr 1999 01:35:00 -0000 1.1.1.1
+++ sim/erc32/help.c 16 Aug 2012 07:50:11 -0000
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdio.h>
#include "sis.h"
Index: sim/erc32/interf.c
===================================================================
RCS file: /cvs/src/src/sim/erc32/interf.c,v
retrieving revision 1.12
diff -u -3 -p -r1.12 interf.c
--- sim/erc32/interf.c 24 May 2012 16:51:43 -0000 1.12
+++ sim/erc32/interf.c 16 Aug 2012 07:50:11 -0000
@@ -20,6 +20,7 @@
*
*/
+#include "config.h"
#include <signal.h>
#include <string.h>
#include <stdio.h>
More information about the Gdb-patches
mailing list