]> git.alsa-project.org Git - alsa-utils.git/commit
Add OpenBSD support
authorSASANO Takayoshi <uaa@uaa.org.uk>
Sat, 31 Dec 2022 07:03:34 +0000 (16:03 +0900)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Feb 2023 12:08:44 +0000 (13:08 +0100)
commit613372dc7c50b1ddc64c79040e8e1ea7c57a3198
treed7dd1ee8e3a3e0e918814c9bbaf5b25cc06e962d
parent1350900246e0462b584331be0df24e177e7b25be
Add OpenBSD support

- ERESTART not supported platform: use EINTR instead
- add include/os_compat.h, well-used OS specific definition
- copied include/bswap.h from alsa-lib

- EPIPE and ESTRPIPE are different usage, but currently
  EPIPE is used when ESTRPIPE is not defined.

  To fix this problem, assign ESPIPE instead.

Fixes: https://github.com/alsa-project/alsa-utils/pull/186
Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 files changed:
alsactl/alsactl.c
alsaloop/alsaloop.c
alsaloop/control.c
alsaloop/pcmjob.c
amidi/amidi.c
aplay/aplay.c
aplay/formats.h
axfer/container.h
bat/alsa.c
configure.ac
include/bswap.h [new file with mode: 0644]
include/os_compat.h [new file with mode: 0644]
speaker-test/speaker-test.c