fixes the following compiler warning: In file included from net/sunrpc/sched.c:25: net/sunrpc/sunrpc.h:46: warning: ‘struct socket’ declared inside parameter list net/sunrpc/sunrpc.h:46: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> Cc: Ricardo Labiaga <ricardo.labiaga@xxxxxxxxxx> --- net/sunrpc/sunrpc.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/sunrpc/sunrpc.h b/net/sunrpc/sunrpc.h index 7b68daf..90c292e 100644 --- a/net/sunrpc/sunrpc.h +++ b/net/sunrpc/sunrpc.h @@ -27,6 +27,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef _NET_SUNRPC_SUNRPC_H #define _NET_SUNRPC_SUNRPC_H +#include <linux/net.h> + /* * Header for dynamically allocated rpc buffers. */ -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html