generic-poky/meta/recipes-core/uclibc/uclibc-0.9.33/libc_symbols_include_bits_uclibc_config.patch
Khem Raj 0c1386ccad uclibc: Upgrade recipes from 0.9.32 -> 0.9.33
Prefer 0.9.33 by default
Delete recipes for 0.9.32

(From OE-Core rev: 5d2c0b051072b3cee510dcad8d20fb26d3843f62)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08 00:50:30 +00:00

24 lines
732 B
Diff

Avoid build warnings
Upstream-Status: Pending
Index: git/include/libc-symbols.h
===================================================================
--- git.orig/include/libc-symbols.h 2011-07-05 17:04:41.171219323 -0700
+++ git/include/libc-symbols.h 2011-07-05 22:50:36.851661478 -0700
@@ -48,10 +48,12 @@
*/
-#include <bits/uClibc_arch_features.h>
-
/* Enable declarations of GNU extensions, since we are compiling them. */
#define _GNU_SOURCE 1
+#define __need_uClibc_config_h
+#include <bits/uClibc_config.h>
+#undef __need_uClibc_config_h
+#include <bits/uClibc_arch_features.h>
/* Prepare for the case that `__builtin_expect' is not available. */
#if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ < 96