Skip to content

Commit

Permalink
Add missing MacOS header
Browse files Browse the repository at this point in the history
Fixes jart#1
  • Loading branch information
jart committed Nov 3, 2022
1 parent 25b8d03 commit 1d13bfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blink/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#if defined(__linux)
#include <sys/syscall.h>
#endif
#if defined(__APPLE__)
#include <sys/random.h>
#endif
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#include <sys/param.h>
#endif
Expand Down

0 comments on commit 1d13bfd

Please sign in to comment.