From 9506b203e567f2e6dd408be2f3eda3af0b5fe2c4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 27 May 2011 10:21:16 -0700 Subject: [PATCH] btio: Add workaround for not defined BT_FLUSHABLE --- btio/btio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/btio/btio.c b/btio/btio.c index 918eea87..e84f6d03 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)