summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch')
-rw-r--r--meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch b/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch
new file mode 100644
index 000000000..3d4d4f278
--- /dev/null
+++ b/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch
@@ -0,0 +1,28 @@
1From 420cb6927553bbca5b49b7681cf208e6df6e4d7c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Sep 2017 08:42:45 -0700
4Subject: [PATCH 1/2] ypbind3_binding_dup.c: Include string.h for strdup
5 declaration
6
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9Upstream-Status: Submitted
10
11 lib/ypbind3_binding_dup.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/lib/ypbind3_binding_dup.c b/lib/ypbind3_binding_dup.c
15index ce4aadf..8199c0b 100644
16--- a/lib/ypbind3_binding_dup.c
17+++ b/lib/ypbind3_binding_dup.c
18@@ -19,6 +19,7 @@
19
20 #if defined(HAVE_YPBIND3)
21
22+#include <string.h>
23 #include <rpcsvc/yp_prot.h>
24 #include "internal.h"
25
26--
272.14.1
28