From dc45e9b995b6215d2cd28966a9879983a47b3c5b Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 28 Jun 2001 07:54:41 +0000 Subject: [PATCH] dont-include-endian-h-when-defining-kernel-for-dux-20010628 otherwise ntohl etc are macros for in-kernel functions we don't have --- acconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acconfig.h b/acconfig.h index 6372c3025..35d3f34ee 100644 --- a/acconfig.h +++ b/acconfig.h @@ -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 # include # if BYTE_ORDER == BIG_ENDIAN # define WORDS_BIGENDIAN 1 # endif +# endif #endif #undef AFS_AFSDB_ENV -- 2.39.5