summaryrefslogtreecommitdiff
path: root/btio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:21:16 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:22:07 -0700
commit29a46bf7dbdb7438015ffb7328e67682c05d895f (patch)
treef9aacd48b1f97dc7b337c49b6765a5de3b603dcd /btio
parent51ab3c975f846a5b25dbfd1d078d881a1a713535 (diff)
btio: Add workaround for not defined BT_FLUSHABLE
Diffstat (limited to 'btio')
-rw-r--r--btio/btio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/btio/btio.c b/btio/btio.c
index 918eea875..e84f6d032 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -40,6 +40,10 @@
#include "btio.h"
+#ifndef BT_FLUSHABLE
+#define BT_FLUSHABLE 8
+#endif
+
#define ERROR_FAILED(gerr, str, err) \
g_set_error(gerr, BT_IO_ERROR, BT_IO_ERROR_FAILED, \
str ": %s (%d)", strerror(err), err)