Compilation fix for Linux

This commit is contained in:
Pierre Pronchery 2011-08-11 23:54:26 +00:00
parent c9ff563602
commit 3e05dbb5d3

View File

@ -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: