Merge branch 'master' into mixer

This commit is contained in:
Alexandre Ratchov 2017-11-11 18:49:06 +01:00
commit a34e39a16b
2 changed files with 2 additions and 3 deletions

3
configure vendored
View File

@ -61,8 +61,7 @@ case `uname` in
ldadd="-lrt"
user=sndiod
so_link="libsndio.so"
defs='-D_GNU_SOURCE -DDEV_RANDOM=\\"/dev/urandom\\" \\\
-DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
defs='-D_GNU_SOURCE -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
;;
NetBSD)
sun=no

View File

@ -40,7 +40,7 @@
#ifndef HAVE_ARC4RANDOM
#ifndef DEV_RANDOM
#define DEV_RANDOM "/dev/arandom"
#define DEV_RANDOM "/dev/urandom"
#endif
static int