blob: 7a8b0993de5cc7b06ffce9d95f3cf4563833a1e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Description: Include string.h header for strlen prototype for GCC 4.4. compatibility.
Author: Chris Lamb <chris@chris-lamb.co.uk>
Taken from https://sources.debian.org/src/udptunnel/1.1-5/debian/patches/02-strlen-prototype.diff/
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"
|