[svn-commits] file: branch 1.4 r1520 - in /branches/1.4: ./
torisa.c zaptel.h zconfig.h
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Oct 19 18:26:30 MST 2006
Author: file
Date: Thu Oct 19 20:26:29 2006
New Revision: 1520
URL: http://svn.digium.com/view/zaptel?rev=1520&view=rev
Log:
Merged revisions 1519 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1519 | file | 2006-10-19 21:23:26 -0400 (Thu, 19 Oct 2006) | 2 lines
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)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/torisa.c
branches/1.4/zaptel.h
branches/1.4/zconfig.h
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/torisa.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/torisa.c?rev=1520&r1=1519&r2=1520&view=diff
==============================================================================
--- branches/1.4/torisa.c (original)
+++ branches/1.4/torisa.c Thu Oct 19 20:26:29 2006
@@ -19,8 +19,10 @@
* original by Jim Dixon <jim at lambdatel.com>
*/
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
-#include <linux/version.h>
+#endif
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
Modified: branches/1.4/zaptel.h
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel.h?rev=1520&r1=1519&r2=1520&view=diff
==============================================================================
--- branches/1.4/zaptel.h (original)
+++ branches/1.4/zaptel.h Thu Oct 19 20:26:29 2006
@@ -32,8 +32,10 @@
#ifdef __KERNEL__
#include "zconfig.h"
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
-#include <linux/version.h>
+#endif
#include <linux/fs.h>
#include <linux/ioctl.h>
Modified: branches/1.4/zconfig.h
URL: http://svn.digium.com/view/zaptel/branches/1.4/zconfig.h?rev=1520&r1=1519&r2=1520&view=diff
==============================================================================
--- branches/1.4/zconfig.h (original)
+++ branches/1.4/zconfig.h Thu Oct 19 20:26:29 2006
@@ -6,8 +6,10 @@
#define _ZCONFIG_H
#ifdef __KERNEL__
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/config.h>
-#include <linux/version.h>
+#endif
#endif
/* Zaptel compile time options */
More information about the svn-commits
mailing list