* This is a module which is used for counting packets. *
* See http://www.intra2net.com/opensource/ipt_account *
* for further information *
- * *
- * Copyright (C) 2004-2007 by Intra2net AG *
+ * *
+ * Copyright (C) 2004-2008 by Intra2net AG *
* opensource@intra2net.com *
* *
* This program is free software; you can redistribute it and/or modify *
#include <net/udp.h>
#include <net/tcp.h>
#include <linux/netfilter_ipv4/ip_tables.h>
-#include <asm/semaphore.h>
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+ #include <linux/semaphore.h>
+#else
+ #include <asm/semaphore.h>
+#endif
+
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/string.h>