[K42-discussion] [PATCH] yet another offsetof ifdef->undef
Donour Sizemore
donour at cs.unm.edu
Tue Oct 3 09:28:31 EST 2006
Signed-off-by: Donour Sizemore <donour at milhouse.localdomain>
---
lib/lk/lkIncs.H | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/lk/lkIncs.H b/lib/lk/lkIncs.H
index dcd2c75..21b4694 100644
--- a/lib/lk/lkIncs.H
+++ b/lib/lk/lkIncs.H
@@ -14,6 +14,11 @@ #define __LK_INCS_H_
*****************************************************************************/
#include <lk/fixup.H>
+
+#ifdef offsetof
+#undef offsetof
+#endif
+
#include <sys/sysIncs.H>
#endif /* #ifndef __LK_INCS_H_ */
--
1.4.1.1
More information about the K42-discussion
mailing list