add DragonFlyBSD build support (except test/)

due to undefined reference to 'environ' error, ucm_exec.c uses workaround.

Fixes: https://github.com/alsa-project/alsa-lib/pull/250
Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
SASANO Takayoshi 2022-07-13 21:36:59 +09:00 committed by Jaroslav Kysela
parent f89245ee66
commit 60c1430b43
4 changed files with 8 additions and 4 deletions

View file

@ -44,7 +44,7 @@
*
*/
#if !defined(__OpenBSD__)
#if !defined(__OpenBSD__) && !defined(__DragonFly__)
union semun {
int val; /* Value for SETVAL */
struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */