RE: getting include-files from arch/<arch>/subdir

From: Heusden, Folkert van (f.v.heusden@ftr.nl)
Date: Tue Oct 24 2000 - 04:19:25 EST


Hi,

ADC> why not
ADC> #include <arch/i386/etc.h>
ADC> Amit

Since that is not cross-platform. I like a solution which does the #include
transparantly
for alpha/i386/etc.

"Heusden, Folkert van" wrote:
>
> I need to include (in a driver) a header-file from arch/<arch>/subdir. I
> could, of course,
> do something like #include "../../arch/i386/{etc}" with a couple of
#ifdef's
> to get things
> working for each environment. I guess that's now the way to do it cleanly.
> What would be _the_ way to do it?
>
> Thanks.
>
> Folkert van Heusden.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:13 EST