[lkml]   [2001]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: problem with includes: pc_keyb.h

> 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 <>
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:58    [W:0.070 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site