summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xztdummy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ztdummy.c b/ztdummy.c
index 2839c2d..a63fc44 100755
--- a/ztdummy.c
+++ b/ztdummy.c
@@ -45,10 +45,14 @@
* the #define USE_RTC should be commented out.
*/
#if defined(__i386__)
+#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
+#define USE_RTC
+#else
#if 0
#define USE_RTC
#endif
#endif
+#endif
#include <linux/kernel.h>
#include <linux/errno.h>