• J
    Fix compilation of legacy xen driver with Xen 4.2 · 416eca18
    Jim Fehlig 提交于
    In Xen 4.2, xs.h is deprecated in favor of xenstore.h.  xs.h now
    contains
    
    #warning xs.h is deprecated use xenstore.h instead
    #include <xenstore.h>
    
    which fails compilation when warnings are treated as errors.
    
    Introduce a configure-time check for xenstore.h and if found,
    use it instead of xs.h.
    416eca18
block_stats.c 11.4 KB