From 4181477639f1d6464670c93136b8a59c8ca9d001 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 23 Apr 2014 09:20:52 +0000 Subject: [PATCH] ib_srpt: RHEL 5.9 build fix (part 2) git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5461 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 26e607877..2f3a5ade6 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -41,7 +41,6 @@ #include #include #include -#include #include #if defined(INSIDE_KERNEL_TREE) #include @@ -49,6 +48,10 @@ #include #include #endif +#if defined(RHEL_MAJOR) && RHEL_MAJOR -0 == 5 +#define vlan_dev_vlan_id(dev) (panic("RHEL 5 misses vlan_dev_vlan_id()"),0) +#endif +#include #include "ib_dm_mad.h" /*