Messages in this thread | | | Date | Fri, 24 Aug 2001 17:03:34 +0200 | From | Martin Mares <> | Subject | Re: problem with includes: pc_keyb.h |
| |
Hello!
> I tried to include pc_keyb.h into my project, but it fails: > > In file included from test_pc_keybh.c:1: > /usr/include/linux/pc_keyb.h:127: parse error before `wait_queue_head_t' > > /usr/include/linux/pc_keyb.h:127: warning: no semicolon at end of struct > or union > /usr/include/linux/pc_keyb.h:130: parse error before `}' > > I tried to include linux/sched.h before, but that didn't work either > (seems to have problems with sys/time.h). > > What to do ?
<linux/pc_keyb.h> is a kernel include which shouldn't be included by user-space code. What parts of it do you need?
Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth How an engineer writes a program: Start by debugging an empty file... - 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/
| |