Re: userspace access to "u8", "u16", etc. types with filter.h

Richard B. Johnson (root@chaos.analogic.com)
Sat, 23 Jan 1999 17:49:33 -0500 (EST)


On Sat, 23 Jan 1999, wrote:

> from the quill of "Khimenko Victor" <khim@sch57.msk.ru> on scroll
> <ABCSTgsuK0@khim.sch57.msk.ru>
> >
> > Copy needed structures to your program and ask glibc folks to add
> > definition
> > in next glibc version.
>
> Wow! Really? I guess I am surprised something as O/S specific as LPF
> would have any interface in the libc. Is it really libc's job to
> provide O/S specific interfaces? I guess libc would be a huge beast
> with lots of O/S specific macros in that case, yes?

I do #include <site.h> with -I. on the compile command line.

site.h may have things like:

#if !defined(u8)
#define u8 unsigned char
#endif

It saves a lot of sweat, trying to compile things in the future.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.

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