From: Jim Rees Date: Wed, 9 Oct 2002 16:57:18 +0000 (+0000) Subject: no-stddef-in-kernel-20021009 X-Git-Tag: openafs-devel-1_3_50~573 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=41c2b9aa17ae5c19fb2acf4c200c57630fd08490;p=packages%2Fo%2Fopenafs.git no-stddef-in-kernel-20021009 Don't include stddef.h in the kernel. Untested except on OpenBSD, but I warned the mailing list. Let me know if this breaks your favorite sysname. --- diff --git a/src/util/afs_atomlist.h b/src/util/afs_atomlist.h index 0a3e13aa3..a1b908354 100644 --- a/src/util/afs_atomlist.h +++ b/src/util/afs_atomlist.h @@ -28,7 +28,9 @@ #ifndef ATOMLIST_H #define ATOMLIST_H +#ifndef KERNEL #include +#endif typedef struct afs_atomlist afs_atomlist; diff --git a/src/util/afs_lhash.h b/src/util/afs_lhash.h index b807f1059..911c29a8f 100644 --- a/src/util/afs_lhash.h +++ b/src/util/afs_lhash.h @@ -28,7 +28,9 @@ #ifndef AFS_LHASH_H #define AFS_LHASH_H +#ifndef KERNEL #include +#endif /* * The user is responsible for generating the key values corresponding