diff options
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.patch | 28 |
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 @@ | |||
1 | From 420cb6927553bbca5b49b7681cf208e6df6e4d7c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 8 Sep 2017 08:42:45 -0700 | ||
4 | Subject: [PATCH 1/2] ypbind3_binding_dup.c: Include string.h for strdup | ||
5 | declaration | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | Upstream-Status: Submitted | ||
10 | |||
11 | lib/ypbind3_binding_dup.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/lib/ypbind3_binding_dup.c b/lib/ypbind3_binding_dup.c | ||
15 | index 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 | -- | ||
27 | 2.14.1 | ||
28 | |||