]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-obsd39-20060531
authorJim Rees <rees@umich.edu>
Wed, 31 May 2006 17:01:45 +0000 (17:01 +0000)
committerJim Rees <rees@umich.edu>
Wed, 31 May 2006 17:01:45 +0000 (17:01 +0000)
pull up changes for OpenBSD 3.8/3.9 to 1.4.x branch

src/rx/rx_kernel.h
src/rx/xdr_rx.c

index d147e3b0ad55c825317e3f4f567edb69e0bb273f..3bb6d7d35c4a230b38449ba04f31a9835c9e056f 100644 (file)
@@ -43,6 +43,7 @@ extern int osi_utoa(char *buf, size_t len, unsigned long val);
 
 #ifndef AFS_DARWIN80_ENV
 #define ifnet_mtu(x) (x)->if_mtu
+#define ifnet_flags(x) (x?(x)->if_flags:0)
 #define AFS_IFNET_T struct ifnet *
 #else
 #define AFS_IFNET_T ifnet_t
index dbeb6f5ef7df9dc47d6bb19a93f6da0b0d21fb58..fe79fbd161ae3a11fe0a7d100fc830f7e451d8a3 100644 (file)
@@ -22,6 +22,7 @@ RCSID
     ("$Header$");
 
 #ifdef KERNEL
+#include "afs/sysincludes.h"
 #ifndef UKERNEL
 #include "h/types.h"
 #include "h/uio.h"
@@ -49,7 +50,6 @@ RCSID
 #include "rx/xdr.h"
 #include "netinet/in.h"
 #else /* !UKERNEL */
-#include "afs/sysincludes.h"
 #include "rpc/types.h"
 #include "rpc/xdr.h"
 #endif /* !UKERNEL */