From: Derrick Brashear Date: Thu, 14 Nov 2002 20:08:23 +0000 (+0000) Subject: get us closer to building X-Git-Tag: openafs-stable-1_2_8~61 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=53241e6c54fcfe46c2f50a56086107bb59f9b0ae;p=packages%2Fo%2Fopenafs.git get us closer to building (cherry picked from commit d84171dd30771401787450582bbd57aab7aafc4e) --- diff --git a/src/afs/HPUX/osi_machdep.h b/src/afs/HPUX/osi_machdep.h index edc948d30..e2674bbee 100644 --- a/src/afs/HPUX/osi_machdep.h +++ b/src/afs/HPUX/osi_machdep.h @@ -87,6 +87,9 @@ extern void afsHashRelease(tid_t key); extern caddr_t kmem_alloc(); #include /* for kt_cred() */ +/* Expected to be available as a patch from HP */ +#include + #endif /* _OSI_MACHDEP_H_ */ diff --git a/src/afs/HPUX/osi_vnodeops.c b/src/afs/HPUX/osi_vnodeops.c index 86de8e4f6..cafe4b5e4 100644 --- a/src/afs/HPUX/osi_vnodeops.c +++ b/src/afs/HPUX/osi_vnodeops.c @@ -179,10 +179,6 @@ afs_lockf( vp, flag, len, cred, fp, LB, UB ) #include "../h/tuneable.h" #include "../h/buf.h" #include "../netinet/in.h" -#include "../rpc/types.h" -#include "../rpc/auth.h" -#include "../rpc/clnt.h" -#include "../rpc/xdr.h" /* a freelist of one */ struct buf *afs_bread_freebp = 0; diff --git a/src/config/param.hp_ux110.h b/src/config/param.hp_ux110.h index 7af67ffc7..cb5fc78ae 100644 --- a/src/config/param.hp_ux110.h +++ b/src/config/param.hp_ux110.h @@ -80,6 +80,10 @@ * supress the warnings. */ struct uio; + +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) #endif #endif /* KERNEL */ #define AFS_DIRENT diff --git a/src/libafs/MakefileProto.HPUX.in b/src/libafs/MakefileProto.HPUX.in index 6562701d6..29830be64 100644 --- a/src/libafs/MakefileProto.HPUX.in +++ b/src/libafs/MakefileProto.HPUX.in @@ -119,7 +119,7 @@ setup: # Compile the clients. ${COMPDIRS} ${INSTDIRS} ${DESTDIRS}: - if false; then \ + if true; then \ for b in $(BITS); do \ for t in $(KOBJ); do \ dir=$$t.$$b; \ diff --git a/src/rx/HPUX/rx_kmutex.h b/src/rx/HPUX/rx_kmutex.h index c5bc1e47f..459d04a59 100644 --- a/src/rx/HPUX/rx_kmutex.h +++ b/src/rx/HPUX/rx_kmutex.h @@ -2,6 +2,8 @@ #define _RX_KMUTEX_H_ #include #include +#include +#include #define RX_ENABLE_LOCKS 1 extern lock_t* rx_sleepLock; @@ -31,5 +33,5 @@ typedef caddr_t afs_kcondvar_t; #define MUTEX_TRYENTER(a) 1 #define MUTEX_EXIT(a) #define MUTEX_INIT(a,b,c,d) -/* #define MUTEX_ISMINE(a) */ +#define MUTEX_ISMINE(a) (1) #endif diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index 9dee8f6d3..eadc1a38e 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -21,7 +21,6 @@ RCSID("$Header$"); #ifdef AFS_HPUX110_ENV #include "../h/tihdr.h" #include -#include "../afs/hpux_110.h" #endif #include "../afsint/afsint.h"