Ticket #24095: patch-libmetrics-darwin-metrics.c.diff

File patch-libmetrics-darwin-metrics.c.diff, 409 bytes (added by admin@…, 15 years ago)
  • libmetrics/darwin/metrics.c

    old new  
    1111
    1212#include <stdlib.h>
    1313#include "interface.h"
     14/* kvm.h is no longer in /usr/include for Leopard */
     15#include "AvailabilityMacros.h"
     16#ifndef MAC_OS_X_VERSION_10_5
    1417#include <kvm.h>
     18#endif
     19
    1520#include <sys/sysctl.h>
    1621
    1722#include <mach/mach_init.h>