From: Derek Atkins Date: Thu, 16 Aug 2001 01:48:48 +0000 (+0000) Subject: fix-afsconfig-ordering-for-rx-20010816 X-Git-Tag: BP-openafs-stable-1_2_x~59 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cb9ccb203df780a705191b034937ef5268c2b62e;p=packages%2Fo%2Fopenafs.git 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 --- 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");