Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Jun 2002 07:47:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Jun 2002 07:45:10 -0400 Received: from loewe.cosy.sbg.ac.at ([141.201.2.12]:6787 "EHLO loewe.cosy.sbg.ac.at") by vger.kernel.org with ESMTP id ; Tue, 4 Jun 2002 07:44:53 -0400 Date: Tue, 4 Jun 2002 13:44:44 +0200 (MET DST) From: "Thomas 'Dent' Mirlacher" To: bonganilinux@mweb.co.za cc: Hossein Mobahi , linux-kernel@vger.kernel.org, linux-c-programming@vger.kernel.org Subject: Re: problem with In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 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/