support: fix build on uclibc

Define TFD_TIMER_CANCEL_ON_SET if needed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2020-01-27 23:50:02 +01:00
parent 37396096df
commit 3583352feb

View file

@ -42,6 +42,10 @@
#define NAME "system" #define NAME "system"
#ifndef TFD_TIMER_CANCEL_ON_SET
# define TFD_TIMER_CANCEL_ON_SET (1 << 1)
#endif
struct impl { struct impl {
struct spa_handle handle; struct spa_handle handle;
struct spa_system system; struct spa_system system;