lkml.org 
[lkml]   [2001]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

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