From: Hauke Mehrtens Date: Sun, 30 Dec 2012 15:32:53 +0000 (+0000) Subject: rtc-rv5c386a: fix compilation for kernel >= 3.4 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=676e6470dee593f6ab3a9e5ad8c86394a0762f6c;p=openwrt%2Fsvn-archive%2Farchive.git rtc-rv5c386a: fix compilation for kernel >= 3.4 SVN-Revision: 34938 --- diff --git a/package/system/rtc-rv5c386a/src/rtc.c b/package/system/rtc-rv5c386a/src/rtc.c index 7c51bf4bf9..25e5331409 100644 --- a/package/system/rtc-rv5c386a/src/rtc.c +++ b/package/system/rtc-rv5c386a/src/rtc.c @@ -57,7 +57,9 @@ #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) #include +#endif #include #include