summarylogtreecommitdiffstats
path: root/02-strlen-prototype.diff
diff options
context:
space:
mode:
Diffstat (limited to '02-strlen-prototype.diff')
-rw-r--r--02-strlen-prototype.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/02-strlen-prototype.diff b/02-strlen-prototype.diff
new file mode 100644
index 000000000000..a5f28073dbb2
--- /dev/null
+++ b/02-strlen-prototype.diff
@@ -0,0 +1,14 @@
+Description: Include string.h header for strlen prototype for GCC 4.4. compatibility.
+Author: Chris Lamb <chris@chris-lamb.co.uk>
+
+diff -urNad /tmp/bp-build/udptunnel-1.1.orig.orig/host2ip.c /tmp/bp-build/udptunnel-1.1.orig/host2ip.c
+--- udptunnel-1.1.orig.orig/host2ip.c 2008-08-28 07:50:41.000000000 +0100
++++ udptunnel-1.1.orig/host2ip.c 2008-08-28 07:50:49.000000000 +0100
+@@ -6,6 +6,7 @@
+ #include <arpa/inet.h> /* inet_addr() */
+ #include <rpcsvc/ypclnt.h> /* YP */
+ #include <ctype.h> /* isspace() */
++#include <string.h> /* strlen() */
+
+ #include "host2ip.h"
+