mirror of https://github.com/shirou/gopsutil
[host][darwin][cgo] Fix #832 work around once-again broken go modules not including C files
Supersedes #885 by @afontainepull/889/head
parent
663af789c0
commit
42c6875555
@ -1,4 +1,6 @@
|
|||||||
#include "smc.h"
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "smc_darwin.h"
|
||||||
|
|
||||||
#define IOSERVICE_SMC "AppleSMC"
|
#define IOSERVICE_SMC "AppleSMC"
|
||||||
#define IOSERVICE_MODEL "IOPlatformExpertDevice"
|
#define IOSERVICE_MODEL "IOPlatformExpertDevice"
|
Loading…
Reference in New Issue