> 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/