support-dux-51-20010305

Changes needed for OpenAFS Tru64 5.1 support
This commit is contained in:
Johan Danielsson 2001-03-05 15:12:42 +00:00 committed by Derrick Brashear
parent 3f43961f53
commit bc5204d4e7
2 changed files with 5 additions and 1 deletions

View File

@ -480,8 +480,12 @@ int mp_Afs_init(void)
AFS_GLOCK();
sysent[AFS_SYSCALL].sy_call = afs3_syscall;
#ifdef SY_NARG
sysent[AFS_SYSCALL].sy_info = 6;
#else
sysent[AFS_SYSCALL].sy_parallel = 0;
sysent[AFS_SYSCALL].sy_narg = 6;
#endif
sysent[SYS_setgroups].sy_call = Afs_xsetgroups;
afs_xioctl_func = afsxioctl;
afs_xsetgroups_func = afsxsetgroups;

View File

@ -1,7 +1,7 @@
/* snprintf.c - Formatted, length-limited print to a string */
#include <afs/param.h>
#if defined(AFS_OSF20_ENV) || defined(AFS_AIX32_ENV)
#if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV)
#include <sys/types.h>
#include <stdarg.h>