From b3759e07e07bbfa479d32b7def64fd932370b912 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 30 Dec 2012 15:32:53 +0000 Subject: rtc-rv5c386a: fix compilation for kernel >= 3.4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34938 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/rtc-rv5c386a/src/rtc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/system/rtc-rv5c386a') 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 -- cgit v1.2.3