From: Chuck Lever Date: Tue, 22 Oct 2024 17:44:08 +0000 (-0400) Subject: xdrgen: Update the files included in client-side source code X-Git-Tag: v6.13-rc1~76^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=903a7d37d9ea03cfed21040467d3d345d1e6fc76;p=thirdparty%2Fkernel%2Flinux.git xdrgen: Update the files included in client-side source code In particular, client-side source code needs the definition of "struct rpc_procinfo" and does not want header files that pull in "struct svc_rqst". Otherwise, the source does not compile. Signed-off-by: Chuck Lever --- diff --git a/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 b/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 index e3a802cbc4d75..c5518c519854a 100644 --- a/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 +++ b/tools/net/sunrpc/xdrgen/templates/C/source_top/client.j2 @@ -3,6 +3,11 @@ // XDR specification file: {{ filename }} // XDR specification modification time: {{ mtime }} -#include +#include -#include "{{ program }}xdr_gen.h" +#include +#include +#include +#include + +#include