mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-21 07:00:08 -05:00
fix includes
This commit is contained in:
parent
af73585948
commit
9ffec214b8
59 changed files with 88 additions and 25 deletions
|
|
@ -43,6 +43,14 @@ extern "C" {
|
|||
#define SPA_RESULT_ASYNC_SEQ(res) ((res) & SPA_ASYNC_SEQ_MASK)
|
||||
#define SPA_RESULT_RETURN_ASYNC(seq) (SPA_ASYNC_BIT | SPA_RESULT_ASYNC_SEQ(seq))
|
||||
|
||||
#define spa_strerror(err) \
|
||||
({ \
|
||||
int _err = -err; \
|
||||
if (SPA_RESULT_IS_ASYNC(err)) \
|
||||
_err = EINPROGRESS; \
|
||||
strerror(_err); \
|
||||
})
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue