git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7c2cb16
)
dont-include-endian-h-when-defining-kernel-for-dux-20010628
author
Derrick Brashear
<shadow@dementia.org>
Thu, 28 Jun 2001 07:54:41 +0000 (07:54 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 28 Jun 2001 07:54:41 +0000 (07:54 +0000)
otherwise ntohl etc are macros for in-kernel functions we don't have
acconfig.h
patch
|
blob
|
history
diff --git
a/acconfig.h
b/acconfig.h
index
6372c30
..
35d3f34
100644
(file)
--- 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 <sys/types.h>
# include <sys/param.h>
# if BYTE_ORDER == BIG_ENDIAN
# define WORDS_BIGENDIAN 1
# endif
+# endif
#endif
#undef AFS_AFSDB_ENV