Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | From 44bdce8c6ed9b30c1643e5981172a4f9025f013c Mon Sep 17 00:00:00 2001 |
| 4 | From: Andreas Oberritter <obi@opendreambox.org> |
| 5 | Date: Wed, 13 Mar 2013 16:17:08 +0100 |
| 6 | Subject: [PATCH] autofs-5.0.7: include linux/nfs.h directly in rpc_subs.h |
| 7 | |
| 8 | Fixes compile error with uclibc. Glibc's nfs/nfs.h contains |
| 9 | nothing but "#include linux/nfs.h". rpc_subs.h already includes |
| 10 | other linux/nfs*.h files directly. |
| 11 | |
| 12 | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> |
| 13 | --- |
| 14 | include/rpc_subs.h | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/include/rpc_subs.h b/include/rpc_subs.h |
| 18 | index b6d59f9..a2d9648 100644 |
| 19 | --- a/include/rpc_subs.h |
| 20 | +++ b/include/rpc_subs.h |
| 21 | @@ -18,7 +18,7 @@ |
| 22 | |
| 23 | #include <rpc/rpc.h> |
| 24 | #include <rpc/pmap_prot.h> |
| 25 | -#include <nfs/nfs.h> |
| 26 | +#include <linux/nfs.h> |
| 27 | #include <linux/nfs2.h> |
| 28 | #include <linux/nfs3.h> |
| 29 | |
| 30 | -- |
| 31 | 1.7.10.4 |
| 32 | |