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:
Derrick Brashear 2001-06-28 07:54:41 +00:00
parent 7c2cb16764
commit dc45e9b995

View File

@ -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