diff --git a/src/afs/LINUX/osi_sleep.c b/src/afs/LINUX/osi_sleep.c index 1e873783ee..5626292fc4 100644 --- a/src/afs/LINUX/osi_sleep.c +++ b/src/afs/LINUX/osi_sleep.c @@ -17,7 +17,9 @@ RCSID #include "afsincludes.h" /* Afs-based standard headers */ #include "afs/afs_stats.h" /* afs statistics */ +#if defined(FREEZER_H_EXISTS) #include +#endif static int osi_TimedSleep(char *event, afs_int32 ams, int aintok); diff --git a/src/rx/rx_kcommon.h b/src/rx/rx_kcommon.h index a2903d07da..14a0b6db51 100644 --- a/src/rx/rx_kcommon.h +++ b/src/rx/rx_kcommon.h @@ -112,7 +112,9 @@ typedef unsigned short etap_event_t; #endif #ifdef AFS_LINUX22_ENV #include "h/sched.h" +#if defined(FREEZER_H_EXISTS) #include "h/freezer.h" +#endif #include "h/netdevice.h" #include "linux/if.h" #else