Skip to content

Commit

Permalink
fix: Add missing TargetConditionals.h include (#1572)
Browse files Browse the repository at this point in the history
closes #1571
  • Loading branch information
AliYusuf95 authored Oct 10, 2021
1 parent fc78261 commit 0763ecd
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 0763ecd

Please sign in to comment.