diff --git a/libsndio/aucat.c b/libsndio/aucat.c index a56d5e6..d62a792 100644 --- a/libsndio/aucat.c +++ b/libsndio/aucat.c @@ -43,6 +43,11 @@ #define DEV_RANDOM "/dev/arandom" #endif +#ifndef SOCK_CLOEXEC +/* not supported on debian gnu/kfreebsd */ +#define SOCK_CLOEXEC 0 +#endif + static int random_bytes(unsigned char *buf, int len) {