From 40f29b608c5fa014f027182cddb5ed57cf4940ac Mon Sep 17 00:00:00 2001 From: file Date: Fri, 20 Oct 2006 01:23:26 +0000 Subject: Later distros have now taken to removing this file as it has been deprecated for awhile now... so on kernels 2.6.18 or higher we can safely not include it. (props to jsmith) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1519 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zaptel.h') diff --git a/zaptel.h b/zaptel.h index 471a9a8..5afa493 100644 --- a/zaptel.h +++ b/zaptel.h @@ -32,8 +32,10 @@ #ifdef __KERNEL__ #include "zconfig.h" -#include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#include +#endif #ifdef CONFIG_ZAPATA_NET #include #endif -- cgit v1.2.3