diff options
author | Ryo ONODERA <[email protected]> | 2023-01-09 04:00:53 +0900 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-01-09 15:55:53 +0100 |
commit | 28e4e20ca1e6619201ecc76c96bbdbb76270582d (patch) | |
tree | 60526ef18b587c87970d6dda7bae3f9bdaad9238 | |
parent | 1736e4aed380a26373c93f6a0e9d8473d4a2f925 (diff) | |
download | cubeb-28e4e20ca1e6619201ecc76c96bbdbb76270582d.tar.gz cubeb-28e4e20ca1e6619201ecc76c96bbdbb76270582d.zip |
Enable strdup(3) for NetBSD
-rw-r--r-- | src/cubeb_jack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_jack.cpp b/src/cubeb_jack.cpp index d851c79..6f921d6 100644 --- a/src/cubeb_jack.cpp +++ b/src/cubeb_jack.cpp @@ -8,7 +8,7 @@ */ #define _DEFAULT_SOURCE #define _BSD_SOURCE -#ifndef __FreeBSD__ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) #define _POSIX_SOURCE #endif #include "cubeb-internal.h" |