diff --git a/configure b/configure index bacbdae..47a520d 100755 --- a/configure +++ b/configure @@ -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 diff --git a/libsndio/aucat.c b/libsndio/aucat.c index 2a61514..34b2b29 100644 --- a/libsndio/aucat.c +++ b/libsndio/aucat.c @@ -40,7 +40,7 @@ #ifndef HAVE_ARC4RANDOM #ifndef DEV_RANDOM -#define DEV_RANDOM "/dev/arandom" +#define DEV_RANDOM "/dev/urandom" #endif static int