From 3e05dbb5d3d45b453ed079f00cc3a5ca76d2081e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 11 Aug 2011 23:54:26 +0000 Subject: [PATCH] Compilation fix for Linux --- src/plugins/openmoko.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/openmoko.c b/src/plugins/openmoko.c index f4cdfdc..d6d889c 100644 --- a/src/plugins/openmoko.c +++ b/src/plugins/openmoko.c @@ -138,6 +138,10 @@ static int _event_volume_set(PhonePlugin * plugin, gdouble level); static int _openmoko_event(PhonePlugin * plugin, PhoneEvent * event) { +#ifdef __linux__ + Openmoko * openmoko = plugin->priv; +#endif + switch(event->type) { case PHONE_EVENT_TYPE_MODEM_EVENT: