From: Guo-Fu Tseng Date: Sat, 25 Jun 2011 05:09:08 +0000 (+0800) Subject: Fix CentOS compile error X-Git-Tag: bp-1.0.8.1~20 X-Git-Url: http://bbs.cooldavid.org/git/?p=jme.git;a=commitdiff_plain;h=d1d139de76f9097ed5f4e4e457aeb9c627a25d5a Fix CentOS compile error --- diff --git a/jme.h b/jme.h index 2a466bc..34f77a1 100644 --- 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