summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2020-01-27 23:50:02 +0100
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2020-01-27 23:50:02 +0100
commit3583352febcb402ce1e00aaa6d804a8cf0f014a8 (patch)
treedfaed11f9a269c5e4279517390142ede0e200660
parent37396096df9799ef3d4ac800d276b578131834bb (diff)
support: fix build on uclibc
Define TFD_TIMER_CANCEL_ON_SET if needed Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r--spa/plugins/support/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/spa/plugins/support/system.c b/spa/plugins/support/system.c
index 55cca575..b1349f3e 100644
--- a/spa/plugins/support/system.c
+++ b/spa/plugins/support/system.c
@@ -42,6 +42,10 @@
#define NAME "system"
+#ifndef TFD_TIMER_CANCEL_ON_SET
+# define TFD_TIMER_CANCEL_ON_SET (1 << 1)
+#endif
+
struct impl {
struct spa_handle handle;
struct spa_system system;