From: Martin Mares <mj@ucw.cz>
To: Nico Schottelius <nicos@pcsystems.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: problem with includes: pc_keyb.h
Date: Fri, 24 Aug 2001 17:03:34 +0200 [thread overview]
Message-ID: <20010824170334.A9055@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <3B866B52.508CF2C6@pcsystems.de>
In-Reply-To: <3B866B52.508CF2C6@pcsystems.de>; from nicos@pcsystems.de on Fri, Aug 24, 2001 at 04:57:22PM +0200
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...
prev parent reply other threads:[~2001-08-24 15:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 14:57 Nico Schottelius
2001-08-24 15:03 ` Martin Mares [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010824170334.A9055@atrey.karlin.mff.cuni.cz \
--to=mj@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=nicos@pcsystems.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®