40f5fdd136
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
13 lines
324 B
Diff
13 lines
324 B
Diff
--- 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
|