From: Derrick Brashear Date: Thu, 28 Jun 2001 07:54:41 +0000 (+0000) Subject: dont-include-endian-h-when-defining-kernel-for-dux-20010628 X-Git-Tag: openafs-stable-1_1_0~81 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=dc45e9b995b6215d2cd28966a9879983a47b3c5b;p=packages%2Fo%2Fopenafs.git dont-include-endian-h-when-defining-kernel-for-dux-20010628 otherwise ntohl etc are macros for in-kernel functions we don't have --- 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