diff options
author | SASANO Takayoshi <uaa@uaa.org.uk> | 2022-12-31 16:03:34 +0900 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2023-02-03 13:08:44 +0100 |
commit | 613372dc7c50b1ddc64c79040e8e1ea7c57a3198 (patch) | |
tree | d7dd1ee8e3a3e0e918814c9bbaf5b25cc06e962d /axfer | |
parent | 1350900246e0462b584331be0df24e177e7b25be (diff) | |
download | alsa-utils-613372dc7c50b1ddc64c79040e8e1ea7c57a3198.tar.gz |
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>
Diffstat (limited to 'axfer')
-rw-r--r-- | axfer/container.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/axfer/container.h b/axfer/container.h index f6ce689..8f7ab2a 100644 --- a/axfer/container.h +++ b/axfer/container.h @@ -17,6 +17,8 @@ #include <alsa/asoundlib.h> +#include "os_compat.h" + enum container_type { CONTAINER_TYPE_PARSER = 0, CONTAINER_TYPE_BUILDER, |