packages/lang/urbi/patches/005-fix-gcc_4_3-compile.patch
florian 245e4b77b4 [package] fix urbi compilation failure on octeon (#6987)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 11:03:21 +00:00

23 lines
535 B
Diff

diff --git a/libport/semaphore.hxx b/libport/semaphore.hxx
index bb2546d..38b0d8e 100644
--- a/libport/semaphore.hxx
+++ b/libport/semaphore.hxx
@@ -5,6 +5,7 @@
# include "exception.hh"
# include <sstream>
# include <string>
+# include <cstring>
namespace libport
{
--- a/src/liburbi/uconversion.cc 2007-01-31 11:37:04.000000000 +0100
+++ b/src/liburbi/uconversion.cc 2010-03-29 09:43:00.000000000 +0200
@@ -1,5 +1,7 @@
#include "urbi/uconversion.hh"
+#include <cstdio>
+
#ifndef NO_IMAGE_CONVERSION
# include <setjmp.h>