From cb9ccb203df780a705191b034937ef5268c2b62e Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Thu, 16 Aug 2001 01:48:48 +0000 Subject: [PATCH] fix-afsconfig-ordering-for-rx-20010816 to fix symbol versioning problems change to rxgen ok on the basis that nothing other than AFS is in any danger of using rx kernel code --- src/rx/rx.c | 2 +- src/rx/rx_event.c | 2 +- src/rxgen/rpc_main.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index e594f2b68..83f7eb4b7 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -9,12 +9,12 @@ /* RX: Extended Remote Procedure Call */ +#include #ifdef KERNEL #include "../afs/param.h" #else #include #endif -#include RCSID("$Header$"); diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c index 4bcb40063..4a5bc06e7 100644 --- a/src/rx/rx_event.c +++ b/src/rx/rx_event.c @@ -7,12 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include #ifdef KERNEL #include "../afs/param.h" #else #include #endif -#include RCSID("$Header$"); diff --git a/src/rxgen/rpc_main.c b/src/rxgen/rpc_main.c index 3c1fe95e1..71a27879f 100644 --- a/src/rxgen/rpc_main.c +++ b/src/rxgen/rpc_main.c @@ -531,6 +531,7 @@ h_output(infile, define, extend, outfile, append) f_print(fout, "#define _RXGEN_%s_\n\n", uppercase(fullname)); f_print(fout, "#ifdef KERNEL\n"); f_print(fout, "/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/\n"); + f_print(fout, "#include \n"); f_print(fout, "#include \"../afs/param.h\"\n"); f_print(fout, "#ifdef UKERNEL\n"); f_print(fout, "#include \"../afs/sysincludes.h\"\n"); -- 2.39.5