From: Sam Hartman Date: Sat, 26 Jul 2003 22:14:50 +0000 (+0000) Subject: Build on 2.4.21 X-Git-Tag: debian/1.2.9-3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1defeb8bf24a73bfbf20d8d7db96d2ec0a51f025;p=packages%2Fo%2Fopenafs.git Build on 2.4.21 --- diff --git a/src/libafs/MakefileProto.LINUX.in b/src/libafs/MakefileProto.LINUX.in index 616329223..0fd5ad186 100644 --- a/src/libafs/MakefileProto.LINUX.in +++ b/src/libafs/MakefileProto.LINUX.in @@ -89,7 +89,7 @@ CCFLAGS = $(KDEBUG) -O2 $(FOMIT) $(GCC_KOPTS) -pipe -ffixed-r13 \ -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -mb-step DEFINES = -D__KERNEL__ -DKERNEL -D_KERNEL ${SMP_DEF} -DMODULE -INCLUDES = -I. -I../ -I${TOP_SRCDIR}/config +INCLUDES = -I. -I../ -I${LINUX_KERNEL_PATH}/include -I${TOP_SRCDIR}/config CFLAGS = $(CCFLAGS) $(DEFINES) $(INCLUDES) diff --git a/src/rx/rx_kcommon.h b/src/rx/rx_kcommon.h index 0eacd8aae..921e7a2d8 100644 --- a/src/rx/rx_kcommon.h +++ b/src/rx/rx_kcommon.h @@ -33,7 +33,10 @@ typedef unsigned short etap_event_t; #include "../h/disp.h" #endif #include "../h/socket.h" -#ifndef AFS_LINUX22_ENV +#ifdef AFS_LINUX22_ENV +#define _LINUX_CODA_FS_I +struct coda_inode_info {}; +#else #include "../h/socketvar.h" #include "../h/protosw.h" #if !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) @@ -80,8 +83,6 @@ typedef unsigned short etap_event_t; #include "../h/user.h" #endif #ifdef AFS_LINUX22_ENV -#define _LINUX_CODA_FS_I -struct coda_inode_info {}; #include "../h/sched.h" #include "../h/netdevice.h" #else