boost: fix build failure
Such build failure was reported several times: gcc.compile.c++ bin.v2/libs/context/build/gcc-i386/release/link-static/threading-multi/fcontext.o libs/context/src/fcontext.cpp: In function 'void* boost::ctx::detail::align_stack(void*)': libs/context/src/fcontext.cpp:25:21: error: 'uintptr_t' was not declared in this scope libs/context/src/fcontext.cpp:25:32: error: expected ')' before 'base' libs/context/src/fcontext.cpp:26:66: error: expected ')' before ';' token libs/context/src/fcontext.cpp:26:66: error: expected ')' before ';' token Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@34635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3301c199c8
commit
40f5fdd136
12
libs/boost/patches/200-cstdint_missing_include.patch
Normal file
12
libs/boost/patches/200-cstdint_missing_include.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/libs/context/src/fcontext.cpp.new 2012-12-11 17:59:59.349131458 +0100
|
||||
+++ b/libs/context/src/fcontext.cpp 2012-12-11 18:00:06.925131652 +0100
|
||||
@@ -9,6 +9,9 @@
|
||||
#include <boost/context/fcontext.hpp>
|
||||
|
||||
#include <cstddef>
|
||||
+extern "C" {
|
||||
+#include <stdint.h>
|
||||
+}
|
||||
|
||||
#ifdef BOOST_HAS_ABI_HEADERS
|
||||
# include BOOST_ABI_PREFIX
|
Loading…
x
Reference in New Issue
Block a user