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

    #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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.024 / U:74.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site