mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* problem with includes: pc_keyb.h
@ 2001-08-24 14:57 Nico Schottelius
  2001-08-24 15:03 ` Martin Mares
  0 siblings, 1 reply; 2+ messages in thread
From: Nico Schottelius @ 2001-08-24 14:57 UTC (permalink / raw)
  To: Linux Kernel Mailing List, mj

Hello guys!

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 ?

Sincerly,

Nico


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with includes: pc_keyb.h
  2001-08-24 14:57 problem with includes: pc_keyb.h Nico Schottelius
@ 2001-08-24 15:03 ` Martin Mares
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Mares @ 2001-08-24 15:03 UTC (permalink / raw)
  To: Nico Schottelius; +Cc: Linux Kernel Mailing List

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...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-24 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-24 14:57 problem with includes: pc_keyb.h Nico Schottelius
2001-08-24 15:03 ` Martin Mares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®