]> bbs.cooldavid.org Git - jme.git/blobdiff - jme.h
Fix bool type on old kernel
[jme.git] / jme.h
diff --git a/jme.h b/jme.h
index 4ee3e0b47c7ae60cc5780f3e2662adb65f1c4c7a..e42b5b915d59a947ee43591575e3b9f82a86826e 100644 (file)
--- a/jme.h
+++ b/jme.h
@@ -112,6 +112,10 @@ do {                                                                       \
 #define NETIF_F_IPV6_CSUM 0
 #endif
 
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
+#define __NO_BOOL__
+#endif
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
 #define __USE_NDO_FIX_FEATURES__
 #endif