#2566 cmpi-router build break on RHEL5

Stability
open
Provider (226)
5
2013-02-08
2012-11-16
Dave Heller
No

The if_arp.h files on some older linux kernel (e.g. 2.6.18 on RHEL5) do not include the macro definition for Controller Area Network, so cmpi-router fails to build on these systems. The attached patch removes this macro definition and fixes the build on RHEL5. This is rather crude; a better solution would be to use this conditionally during compilation, via a #ifdef or the like.

Discussion

  • Dave Heller
    Dave Heller
    2012-11-22

    Attached an updated patch using #ifdef statements.