summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/files/gcc.fix_header_issue.patch
blob: e2b9f7f23422664bb6597fec5c7cc8e0fc8414c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- gcc-4_6-branch/gcc/limitx.h.orig	2012-03-08 01:11:23.024440826 -0600
+++ gcc-4_6-branch/gcc/limitx.h	2012-03-08 01:13:44.372515706 -0600
@@ -30,6 +30,7 @@
 #define _GCC_LIMITS_H_
 
 #ifndef _LIBC_LIMITS_H_
-/* Use "..." so that we find syslimits.h only in this same directory.  */
-#include "syslimits.h"
+#define _GCC_NEXT_LIMITS_H              /* tell gcc's limits.h to recurse */
+#include_next <limits.h>
+#undef _GCC_NEXT_LIMITS_H
 #endif