]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
fix-afsconfig-ordering-for-rx-20010816
authorDerek Atkins <warlord@mit.edu>
Thu, 16 Aug 2001 01:48:48 +0000 (01:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 16 Aug 2001 01:48:48 +0000 (01:48 +0000)
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
src/rx/rx_event.c
src/rxgen/rpc_main.c

index e594f2b681e79707328e9c2e8f80ca5dbe4b4548..83f7eb4b738e4d61adbd5f8d834f34773a8b0ee3 100644 (file)
@@ -9,12 +9,12 @@
 
 /* RX:  Extended Remote Procedure Call */
 
+#include <afsconfig.h>
 #ifdef KERNEL
 #include "../afs/param.h"
 #else
 #include <afs/param.h>
 #endif
-#include <afsconfig.h>
 
 RCSID("$Header$");
 
index 4bcb40063752a36e5ce4324c181c2f5e58a88d13..4a5bc06e7d5d27cde86355e9ec57a373caa252a2 100644 (file)
@@ -7,12 +7,12 @@
  * directory or online at http://www.openafs.org/dl/license10.html
  */
 
+#include <afsconfig.h>
 #ifdef KERNEL
 #include "../afs/param.h"
 #else
 #include <afs/param.h>
 #endif
-#include <afsconfig.h>
 
 RCSID("$Header$");
 
index 3c1fe95e19a37169a2f4725632b4c34ab49b1859..71a27879f09c0228539540f867c386a62fa1a069 100644 (file)
@@ -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 <afsconfig.h>\n");
        f_print(fout, "#include \"../afs/param.h\"\n");
        f_print(fout, "#ifdef   UKERNEL\n");
        f_print(fout, "#include \"../afs/sysincludes.h\"\n");