mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
SOLARIS: Include sys/varargs.h for kernel stdarg
When compiling for the kernel, pre-10 Solaris seems to want <sys/varargs.h> instead of <stdarg.h>, as documented in the Solaris man pages. So include <sys/varargs.h> instead of <stdarg.h> where we need variable arguments (afs_warn.c). Change-Id: Id16453b1f7bb9f42d0cc9ca504ac64d04fb0b684 Reviewed-on: http://gerrit.openafs.org/3653 Tested-by: Andrew Deason <adeason@sinenomine.net> Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
8c54107957
commit
6d03eef721
@ -20,9 +20,14 @@
|
||||
#include "afs/sysincludes.h" /* Standard vendor system headers */
|
||||
|
||||
#if !defined(UKERNEL)
|
||||
|
||||
#if !defined(AFS_LINUX20_ENV)
|
||||
#include <net/if.h>
|
||||
#include "stdarg.h"
|
||||
# include <net/if.h>
|
||||
# if defined(AFS_SUN58_ENV)
|
||||
# include <sys/varargs.h>
|
||||
# else
|
||||
# include <stdarg.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user