summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-06 20:20:02 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-06 20:20:02 +0000
commit1e3499bf665e358e7cee69f48482e0728b2b95a5 (patch)
tree3e13c9e4cd212d43611209506dabe4193c18fefb /zaptel.h
parentd478a7088700e0ef269a87203b1574daffa24cd7 (diff)
Include some headers from the target system rather than the build system.
Issue 10254, patch by mirabilos git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2821 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rw-r--r--zaptel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zaptel.h b/zaptel.h
index 73af4b6..76be564 100644
--- a/zaptel.h
+++ b/zaptel.h
@@ -80,8 +80,6 @@
#include "ecdis.h"
#include "fasthdlc.h"
-#endif /* __KERNEL__ */
-
#ifdef CONFIG_DEVFS_FS
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
#include <linux/devfs_fs_kernel.h>
@@ -90,6 +88,7 @@
//#warning "Zaptel doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in zaptel"
#endif
#endif /* CONFIG_DEVFS_FS */
+#endif /* __KERNEL__ */
#ifndef ELAST
#define ELAST 500