lkml.org 
[lkml]   [2000]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tweak linux/types.h for libc 4 and libc 5
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.023 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site