Index: source/ariba/utility/system/SystemEvent.h
===================================================================
--- source/ariba/utility/system/SystemEvent.h	(revision 2848)
+++ source/ariba/utility/system/SystemEvent.h	(revision 2850)
@@ -59,5 +59,8 @@
 	const void* data; //< data attached to the event
 
-public:
+public: 
+	// TODO: these should be private, but the gcc 3.4 in scratchbox for cross-compiling
+	// for Maemo (Nokia N810) gets confused when the friend class SystemQueue has a 
+	// private class that accesses these variables. Therefore they are public for now.
 	ptime scheduledTime; //< time the event was originally given to the queue
 	uint32_t delayTime; //< time the event is scheduled at, or 0 if it is to be fired immediately
Index: source/ariba/utility/system/SystemQueue.cpp
===================================================================
--- source/ariba/utility/system/SystemQueue.cpp	(revision 2848)
+++ source/ariba/utility/system/SystemQueue.cpp	(revision 2850)
@@ -220,5 +220,5 @@
 void SystemQueue::QueueThreadDirect::onNextQueueItem( const SystemEvent& event ){
 	// directly deliver the item to the
-	event.listener->handleSystemEvent( event );
+	event.getListener()->handleSystemEvent( event );
 }
 
