summarylogtreecommitdiffstats
path: root/fix-for-gcc4.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-for-gcc4.3.patch')
-rw-r--r--fix-for-gcc4.3.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/fix-for-gcc4.3.patch b/fix-for-gcc4.3.patch
new file mode 100644
index 000000000000..3e445337d6b9
--- /dev/null
+++ b/fix-for-gcc4.3.patch
@@ -0,0 +1,35 @@
+Description: Fix FTBFS with gcc 4.3
+Author: Luk Claes <luk@debian.org>
+Bug-Debian: https://bugs.debian.org/417779
+Last-Update: 2016-03-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/libs-external/USI++/src/ip.cc
++++ b/libs-external/USI++/src/ip.cc
+@@ -13,6 +13,7 @@
+ #include "usi++/ip.h"
+
+ #include "config.h"
++#include <cstdlib>
+ #include <iostream>
+ #include <string.h>
+ #include <errno.h>
+--- a/libs-external/USI++/src/misc.cc
++++ b/libs-external/USI++/src/misc.cc
+@@ -1,5 +1,6 @@
+ #include "usi++/usi++"
+ #include "usi++/usi-structs.h"
++#include <cstdlib>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+--- a/libs-external/USI++/usi++/tcp.h
++++ b/libs-external/USI++/usi++/tcp.h
+@@ -15,6 +15,7 @@
+ #include "usi-structs.h"
+ #include "datalink.h"
+ #include "ip.h"
++#include <cstring>
+
+ namespace usipp {
+