[patch] compile problem using shm on libc5

From: Kurt Roeckx (Q@ping.be)
Date: Sat May 27 2000 - 16:34:11 EDT

  • Next message: Steve Dodd: "loop device deadlocks (was Re: Linux 2.3.99pre9-2 JOB list)"

    Libc5 has problems compiling anything with shared memory. I attached a
    patch that fixes the problem for me, not sure if it's completly good tho.

    The linux/timex.h change is for getting struct timeval. I saw that 2.2
    includes linux/time.h too.

    I have no idea wether the linux/sched.h change is any good, and that maybe
    more should be put inside the ifdef __KERNEL__, it atleast works now for
    me.

    In linux/timer.h, I #ifdef everything that has to do with struct
    timer_list, because struct list_head is only defined if __KERNEL__ is
    defined.

    Hope this is any good.

    Kurt

    -
    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 May 27 2000 - 16:40:42 EDT