We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b32b22 + c0ba92f commit f7a7987Copy full SHA for f7a7987
2 files changed
.github/workflows/testsuite.yml
@@ -55,6 +55,15 @@ jobs:
55
- uses: actions/checkout@v2
56
- run: make tests CC=gcc CXX=g++
57
- run: make cpp_tests CC=gcc CXX=g++
58
+ testsuite-musl:
59
+ runs-on: ubuntu-latest
60
+ container:
61
+ image: alpine:latest
62
+ steps:
63
+ - uses: actions/checkout@v2
64
+ - run: apk update && apk add build-base bash musl-dev
65
+ - run: make tests CC=gcc CXX=g++
66
+ - run: make cpp_tests CC=gcc CXX=g++
67
68
69
src/iso_alloc_random.c
@@ -5,7 +5,7 @@
5
* https://github.com/struct/isoalloc/pull/5 */
6
7
#if __linux__
8
-#include <linux/random.h>
+#define GRND_NONBLOCK 0x0001
9
#include <sys/syscall.h>
10
#elif __APPLE__
11
#include <Security/SecRandom.h>
0 commit comments