Musl-gcc fails on compilation, because it cannot find sys/random.h. From this header file, we only use RNDGETENTCNT, which is 0. This PR edits the code s.t. we do not have to rely on the presence of the linux headers anymore. Instead, we define this little piece of the linux headers inline. (Based on a StackOverflow answer.
This PR also adds musl-libc to travis as a build target.
Musl-gcc fails on compilation, because it cannot find
sys/random.h
. From this header file, we only useRNDGETENTCNT
, which is0
. This PR edits the code s.t. we do not have to rely on the presence of the linux headers anymore. Instead, we define this little piece of the linux headers inline. (Based on a StackOverflow answer.This PR also adds musl-libc to travis as a build target.