autofs-5.0.7 - include linux/nfs.h directly in rpc_subs.h From: Andreas Oberritter <obi@opendreambox.org> Fixes compile error with uclibc. Glibc's nfs/nfs.h contains nothing but "#include linux/nfs.h". rpc_subs.h already includes other linux/nfs*.h files directly. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Ian Kent <raven@themaw.net> --- CHANGELOG | 1 + include/rpc_subs.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 37e76bc2..04293940 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -39,6 +39,7 @@ xx/xx/2020 autofs-5.1.7 - use a valid timeout in lookup_prune_one_cache(). - dont prune offset map entries. - simplify sss source stale check. +- include linux/nfs.h directly in rpc_subs.h. 07/10/2019 autofs-5.1.6 - support strictexpire mount option. diff --git a/include/rpc_subs.h b/include/rpc_subs.h index 6e35eedf..7ba4b93f 100644 --- a/include/rpc_subs.h +++ b/include/rpc_subs.h @@ -18,7 +18,7 @@ #include <rpc/rpc.h> #include <rpc/pmap_prot.h> -#include <nfs/nfs.h> +#include <linux/nfs.h> #include <linux/nfs2.h> #include <linux/nfs3.h>