mirror of https://github.com/shirou/gopsutil
Merge pull request #889 from Lomanic/issue832
[darwin][disk][host] Move C dependencies to satisfy go mod and have descriptive file namespull/891/head
commit
ca4849b710
@ -1,7 +1,7 @@
|
||||
// https://github.com/lufia/iostat/blob/9f7362b77ad333b26c01c99de52a11bdb650ded2/iostat_darwin.c
|
||||
#include <stdint.h>
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include "disk_darwin.h"
|
||||
#include "iostat_darwin.h"
|
||||
|
||||
#define IOKIT 1 /* to get io_name_t in device_types.h */
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "smc.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "smc_darwin.h"
|
||||
|
||||
#define IOSERVICE_SMC "AppleSMC"
|
||||
#define IOSERVICE_MODEL "IOPlatformExpertDevice"
|
Loading…
Reference in New Issue