Re: problem with <asm/semaphore.h>

From: Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Date: Tue Jun 04 2002 - 06:44:44 EST


On Tue, 4 Jun 2002 bonganilinux@mweb.co.za wrote:

> I think you a trying to include a file from the linux source
> which will not work for use-space apps. Try using
> #include <semaphore.h> instead

yes, sounds right, since struct semaphore in asm/semaphore will be
defined only if __KERNEL__ is defined.

        tm

-- 
in some way i do, and in some way i don't.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:19 EST