Re: problem with <asm/semaphore.h>

Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Tue, 4 Jun 2002 13:44:44 +0200 (MET DST)


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/