[package] fix urbi compilation failure on octeon (#6987)
[openwrt/svn-archive/archive.git] / lang / urbi / patches / 005-fix-gcc_4_3-compile.patch
1 diff --git a/libport/semaphore.hxx b/libport/semaphore.hxx
2 index bb2546d..38b0d8e 100644
3 --- a/libport/semaphore.hxx
4 +++ b/libport/semaphore.hxx
5 @@ -5,6 +5,7 @@
6 # include "exception.hh"
7 # include <sstream>
8 # include <string>
9 +# include <cstring>
10
11 namespace libport
12 {
13 --- a/src/liburbi/uconversion.cc 2007-01-31 11:37:04.000000000 +0100
14 +++ b/src/liburbi/uconversion.cc 2010-03-29 09:43:00.000000000 +0200
15 @@ -1,5 +1,7 @@
16 #include "urbi/uconversion.hh"
17
18 +#include <cstdio>
19 +
20 #ifndef NO_IMAGE_CONVERSION
21 # include <setjmp.h>
22