diff --git a/src/rx/rx_clock.h b/src/rx/rx_clock.h index e37510655a..38bb1306f5 100644 --- a/src/rx/rx_clock.h +++ b/src/rx/rx_clock.h @@ -42,8 +42,8 @@ struct clock { afs_int32 usec; /* Microseconds since clock_Init */ }; -#ifndef KERNEL -#if defined(AFS_USE_GETTIMEOFDAY) || defined(AFS_PTHREAD_ENV) +#if !defined(KERNEL) || defined(UKERNEL) +#if defined(AFS_USE_GETTIMEOFDAY) || defined(AFS_PTHREAD_ENV) || defined(UKERNEL) #define clock_Init() #define clock_NewTime() #define clock_UpdateTime() diff --git a/src/rx/rx_packet.h b/src/rx/rx_packet.h index ab324d5a19..7028825b79 100644 --- a/src/rx/rx_packet.h +++ b/src/rx/rx_packet.h @@ -12,11 +12,9 @@ #if defined(AFS_NT40_ENV) #include "rx_xmit_nt.h" #endif -#ifndef UKERNEL #ifndef AFS_NT40_ENV #include #endif /* !AFS_NT40_ENV */ -#endif /* !UKERNEL */ /* this file includes the macros and decls which depend on packet * format, and related packet manipulation macros. Note that code * which runs at NETPRI should not sleep, or AIX will panic */