config.h and isdn_compat.h should be only included #ifdef __KERNEL__

This commit is contained in:
Karsten Keil 2001-02-08 12:54:37 +00:00
parent 5573cae6a9
commit 686c8687c9
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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