lkml.org 
[lkml]   [1999]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectincludes linux/lp.h or linux/wait.h inconsistent outside kernel
Hallo kernel developers
compiling tunelp I have found inconsistency of headers __outside__ kernel.
The trouble is in skipping of definition wait_queue_head_t.

Following not works outside kernel:
#include <linux/lp.h>

Following works:
#define __KERNEL__
#include <linux/wait.h>
#undef __KERNEL__
#include <linux/lp.h>

-- Stanislav Brabec


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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