summaryrefslogtreecommitdiff
path: root/torisa.c
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-10-20 01:29:25 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-10-20 01:29:25 +0000
commitdfc41578d606fbb4b6f53068e81e7e7915793d5a (patch)
tree636291baf15add678148069e90baf674e9ed981c /torisa.c
parent83985df0c316f0b137a66f213550fd0e2d384ea1 (diff)
Merged revisions 1520 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r1520 | file | 2006-10-19 21:26:29 -0400 (Thu, 19 Oct 2006) | 10 lines 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) ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1521 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'torisa.c')
-rw-r--r--torisa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/torisa.c b/torisa.c
index e969cba..a037af5 100644
--- a/torisa.c
+++ b/torisa.c
@@ -19,8 +19,10 @@
* original by Jim Dixon <jim@lambdatel.com>
*/
-#include <linux/config.h>
#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+#include <linux/config.h>
+#endif
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>