diff options
Diffstat (limited to 'main/nfs-utils/0001-Add-string.h-to-source-files-that-need-it.patch')
-rw-r--r-- | main/nfs-utils/0001-Add-string.h-to-source-files-that-need-it.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/main/nfs-utils/0001-Add-string.h-to-source-files-that-need-it.patch b/main/nfs-utils/0001-Add-string.h-to-source-files-that-need-it.patch new file mode 100644 index 0000000000..68a8b7c708 --- /dev/null +++ b/main/nfs-utils/0001-Add-string.h-to-source-files-that-need-it.patch @@ -0,0 +1,80 @@ +From f5f49573de08f8ecd87fb5e653a665333c10a42a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi> +Date: Thu, 2 Oct 2014 15:21:15 +0300 +Subject: [PATCH v2 1/5] Add string.h to source files that need it +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Timo Teräs <timo.teras@iki.fi> +--- + support/include/exportfs.h | 1 + + support/include/nfsrpc.h | 1 + + support/nfs/cacheio.c | 1 + + utils/gssd/write_bytes.h | 1 + + utils/nfsd/nfssvc.c | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/support/include/exportfs.h b/support/include/exportfs.h +index 9021fae..32711e4 100644 +--- a/support/include/exportfs.h ++++ b/support/include/exportfs.h +@@ -10,6 +10,7 @@ + #define EXPORTFS_H + + #include <netdb.h> ++#include <string.h> + + #include "sockaddr.h" + #include "nfslib.h" +diff --git a/support/include/nfsrpc.h b/support/include/nfsrpc.h +index 1bfae7a..fbbdb6a 100644 +--- a/support/include/nfsrpc.h ++++ b/support/include/nfsrpc.h +@@ -23,6 +23,7 @@ + #ifndef __NFS_UTILS_NFSRPC_H + #define __NFS_UTILS_NFSRPC_H + ++#include <string.h> + #include <rpc/types.h> + #include <rpc/clnt.h> + +diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c +index 61e07a8..2726d8f 100644 +--- a/support/nfs/cacheio.c ++++ b/support/nfs/cacheio.c +@@ -18,6 +18,7 @@ + #include <nfslib.h> + #include <stdio.h> + #include <stdio_ext.h> ++#include <string.h> + #include <ctype.h> + #include <unistd.h> + #include <sys/types.h> +diff --git a/utils/gssd/write_bytes.h b/utils/gssd/write_bytes.h +index 4fc72cc..b3f342b 100644 +--- a/utils/gssd/write_bytes.h ++++ b/utils/gssd/write_bytes.h +@@ -32,6 +32,7 @@ + #define _WRITE_BYTES_H_ + + #include <stdlib.h> ++#include <string.h> + #include <sys/types.h> + #include <netinet/in.h> /* for ntohl */ + +diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c +index 0675b6a..027e5ac 100644 +--- a/utils/nfsd/nfssvc.c ++++ b/utils/nfsd/nfssvc.c +@@ -20,6 +20,7 @@ + #include <fcntl.h> + #include <errno.h> + #include <stdlib.h> ++#include <string.h> + + #include "nfslib.h" + #include "xlog.h" +-- +2.1.2 + |