Skip to content

Commit

Permalink
re-add POSIX_C_SOURCE undef on apple
Browse files Browse the repository at this point in the history
  • Loading branch information
annacrombie committed Feb 10, 2024
1 parent 6742311 commit 6ab6621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/posix/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <string.h>

#if defined(__APPLE__)
#undef _POSIX_C_SOURCE
// for sysctl
#include <sys/types.h>
#include <sys/sysctl.h>
Expand Down

0 comments on commit 6ab6621

Please sign in to comment.