Skip to content

Commit

Permalink
fix: Add missing TargetConditionals.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
AliYusuf95 committed Oct 10, 2021
1 parent fc78261 commit a1b452f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/gopsutil/cpu/cpu_darwin_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package cpu
#include <mach/mach_init.h>
#include <mach/mach_host.h>
#include <mach/host_info.h>
#include <TargetConditionals.h>
#if TARGET_OS_MAC
#include <libproc.h>
#endif
Expand Down

0 comments on commit a1b452f

Please sign in to comment.