Skip to content
Snippets Groups Projects
Commit 0592bdfa authored by Charles Wright's avatar Charles Wright
Browse files

Check for Linux before trying to import sys/random.h

parent 5f5b84c2
No related branches found
Tags v0.4.1
No related merge requests found
......@@ -22,7 +22,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(__linux__)
#include <sys/random.h>
#endif
/*
For Emscripten compilation to Javascript use the following:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment