scummvm random work
[patches.git] / linux-isdn-divertif.patch
CommitLineData
5e993f12 1diff --git a/include/linux/Kbuild b/include/linux/Kbuild
2index 4ff0f57..ab2aaa2 100644
3--- a/include/linux/Kbuild
4+++ b/include/linux/Kbuild
5@@ -91,7 +91,6 @@ header-y += ip_mp_alg.h
6 header-y += ipsec.h
7 header-y += ipx.h
8 header-y += irda.h
9-header-y += isdn_divertif.h
10 header-y += iso_fs.h
11 header-y += ixjuser.h
12 header-y += jffs2.h
13@@ -238,6 +237,7 @@ unifdef-y += ipv6.h
14 unifdef-y += ipv6_route.h
15 unifdef-y += isdn.h
16 unifdef-y += isdnif.h
17+unifdef-y += isdn_divertif.h
18 unifdef-y += isdn_ppp.h
19 unifdef-y += isicom.h
20 unifdef-y += jbd.h
21diff --git a/include/linux/isdn_divertif.h b/include/linux/isdn_divertif.h
22index 0e7e44c..0df24b2 100644
23--- a/include/linux/isdn_divertif.h
24+++ b/include/linux/isdn_divertif.h
25@@ -24,6 +24,10 @@
26 #define DIVERT_REL_ERR 0x04 /* module not registered */
27 #define DIVERT_REG_NAME isdn_register_divert
28
29+#ifdef __KERNEL__
30+#include <linux/isdnif.h>
31+#include <linux/types.h>
32+
33 /***************************************************************/
34 /* structure exchanging data between isdn hl and divert module */
35 /***************************************************************/
36@@ -40,3 +43,4 @@ typedef struct
37 /* function register */
38 /*********************/
39 extern int DIVERT_REG_NAME(isdn_divert_if *);
40+#endif