config.h and isdn_compat.h should be only included #ifdef __KERNEL__
This commit is contained in:
parent
5573cae6a9
commit
686c8687c9
|
@ -25,8 +25,10 @@
|
|||
#ifndef isdn_h
|
||||
#define isdn_h
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/isdn_compat.h>
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#define ISDN_TTY_MAJOR 43
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
#ifndef _LINUX_ISDN_PPP_H
|
||||
#define _LINUX_ISDN_PPP_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/config.h>
|
||||
#include <linux/isdn_compat.h>
|
||||
#endif
|
||||
|
||||
#define CALLTYPE_INCOMING 0x1
|
||||
#define CALLTYPE_OUTGOING 0x2
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
#ifndef isdnif_h
|
||||
#define isdnif_h
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/config.h>
|
||||
#include <linux/isdn_compat.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Values for general protocol-selection
|
||||
|
|
Loading…
Reference in New Issue