}
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
-
-#define mac_header mac.raw
-#define network_header nh.raw
-
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
/* Note that CHECKSUM_PARTIAL is not implemented, but this allows us to at
* least test against it: see update_csum() in forward.c. */
#define CHECKSUM_PARTIAL 3
#define CHECKSUM_COMPLETE CHECKSUM_HW
+#endif /* linux kernel < 2.6.19 */
+
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+
+#define mac_header mac.raw
+#define network_header nh.raw
static inline unsigned char *skb_transport_header(const struct sk_buff *skb)
{