summaryrefslogtreecommitdiff
path: root/kernel/wctdm24xxp/GpakApi.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/wctdm24xxp/GpakApi.c')
-rw-r--r--kernel/wctdm24xxp/GpakApi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/wctdm24xxp/GpakApi.c b/kernel/wctdm24xxp/GpakApi.c
index 151a3a6..78d0681 100644
--- a/kernel/wctdm24xxp/GpakApi.c
+++ b/kernel/wctdm24xxp/GpakApi.c
@@ -33,7 +33,11 @@
*/
#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
+#include <linux/semaphore.h>
+#else
#include <asm/semaphore.h>
+#endif
#include "zaptel.h"