From 41c2b9aa17ae5c19fb2acf4c200c57630fd08490 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Wed, 9 Oct 2002 16:57:18 +0000 Subject: [PATCH] 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. --- src/util/afs_atomlist.h | 2 ++ src/util/afs_lhash.h | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.5