This little patch tweaks linux/types.h enough so I can build the kernel
on my Mastodon machines. It simply wraps the typedefs for old_*[gu]id
in a __KERNEL__ ifdef, so that these typedefs won't be done unless the
base types are first defined.
____
david parsons \bi/ No, I don't want a pod. But thanks anyway.
\/
--- linux-2.3.39/include/linux/types.h.orig Thu Jan 13 15:09:39 2000
+++ linux-2.3.39/include/linux/types.h Thu Jan 13 15:09:40 2000
@@ -31,9 +31,11 @@
typedef __kernel_gid_t gid_t;
#endif /* __KERNEL__ */
+#ifdef __KERNEL__
/* This is defined by include/asm-{arch}/posix_types.h */
typedef __kernel_old_uid_t old_uid_t;
typedef __kernel_old_gid_t old_gid_t;
+#endif
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __kernel_loff_t loff_t;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:24 EST