mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
dont-include-endian-h-when-defining-kernel-for-dux-20010628
otherwise ntohl etc are macros for in-kernel functions we don't have
This commit is contained in:
parent
7c2cb16764
commit
dc45e9b995
@ -9,11 +9,13 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
||||
#undef HAVE_SOCKET
|
||||
|
||||
#if ENDIANESS_IN_SYS_PARAM_H
|
||||
# ifndef KERNEL
|
||||
# include <sys/types.h>
|
||||
# include <sys/param.h>
|
||||
# if BYTE_ORDER == BIG_ENDIAN
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#undef AFS_AFSDB_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user