Skip to content

Commit

Permalink
Update env.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games authored Oct 29, 2024
1 parent 15a4281 commit fd9212e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ext/env.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#if (defined(__APPLE__) && defined(__MACH__))
#include <TargetConditionals.h>
#if !TARGET_OS_IOS
#include <algorithm>
#include <sys/proc_info.h>
#include <sys/sysctl.h>
#include <libproc.h>
Expand All @@ -34,6 +35,7 @@
#endif

#if defined(__FreeBSD__)
#include <algorithm>
#include <cstring>
#include <fcntl.h>
#include <kvm.h>
Expand All @@ -43,12 +45,14 @@
#endif

#if defined(__DragonFly__)
#include <algorithm>
#include <cstring>
#include <sys/types.h>
#include <kvm.h>
#endif

#if defined(__NetBSD__)
#include <algorithm>
#include <cstring>
#include <fcntl.h>
#include <kvm.h>
Expand All @@ -57,6 +61,7 @@
#endif

#if defined(__OpenBSD__)
#include <algorithm>
#include <cstring>
#include <sys/param.h>
#include <sys/sysctl.h>
Expand All @@ -65,6 +70,7 @@
#endif

#if defined(__sun)
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <kvm.h>
Expand Down

0 comments on commit fd9212e

Please sign in to comment.