]> bbs.cooldavid.org Git - jme.git/commitdiff
Fix CentOS compile error
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 25 Jun 2011 05:09:08 +0000 (13:09 +0800)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Sat, 25 Jun 2011 06:30:26 +0000 (14:30 +0800)
jme.h

diff --git a/jme.h b/jme.h
index 2a466bccade6d582ad18379b72e34b320f09c688..34f77a1906d2cdace5e8e297c129e88c94b61d1f 100644 (file)
--- a/jme.h
+++ b/jme.h
@@ -461,10 +461,10 @@ struct jme_ring {
        netdev->get_stats = fun_ptr
 #define DECLARE_NET_DEVICE_STATS struct net_device_stats stats;
 /*
- * CentOS 5.5 have *_hdr helpers back-ported
+ * CentOS 5.2 have *_hdr helpers back-ported
  */
 #ifdef RHEL_RELEASE_CODE
-#if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,5)
+#if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,2)
 #define __DEFINE_IPHDR_HELPERS__
 #endif
 #else