diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-08 00:32:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:16 -0700 |
commit | a7e27d5dd396419dc6d6288db6a6d86cf3a94ba5 (patch) | |
tree | d724d785531a6c181b4b78c2fde96b122f07eff6 /include/linux/isdn_divertif.h | |
parent | 635244c59c27d3b22c4523d2a951cf553195a966 (diff) | |
download | linux-stable-a7e27d5dd396419dc6d6288db6a6d86cf3a94ba5.tar.gz linux-stable-a7e27d5dd396419dc6d6288db6a6d86cf3a94ba5.tar.bz2 linux-stable-a7e27d5dd396419dc6d6288db6a6d86cf3a94ba5.zip |
sanitize linux/isdn_divertif.h for userspace
the isdn_divertif contains kernel-only references so I've wrapped them in
__KERNEL__ and add proper #include statements.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Karsten Keil <kkeil@suse.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/isdn_divertif.h')
-rw-r--r-- | include/linux/isdn_divertif.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/isdn_divertif.h b/include/linux/isdn_divertif.h index 0e7e44ce8301..07821ca5955f 100644 --- a/include/linux/isdn_divertif.h +++ b/include/linux/isdn_divertif.h @@ -24,6 +24,10 @@ #define DIVERT_REL_ERR 0x04 /* module not registered */ #define DIVERT_REG_NAME isdn_register_divert +#ifdef __KERNEL__ +#include <linux/isdnif.h> +#include <linux/types.h> + /***************************************************************/ /* structure exchanging data between isdn hl and divert module */ /***************************************************************/ @@ -40,3 +44,4 @@ typedef struct /* function register */ /*********************/ extern int DIVERT_REG_NAME(isdn_divert_if *); +#endif |