summaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/patches/patch-src_timer.cc
blob: b97c483913e0511123801f718980bd3d7a854e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-src_timer.cc,v 1.1 2014/09/10 12:21:12 joerg Exp $

--- src/timer.cc.orig	2014-09-09 20:00:11.000000000 +0000
+++ src/timer.cc
@@ -33,12 +33,15 @@
     #include "autoconfig.h"
 #endif
 
+#include "singleton.h"
+
+class Timer;
+SINGLETON_MUTEX(Timer, true);
+
 #include "timer.h"
 
 using namespace zmm;
 
-SINGLETON_MUTEX(Timer, true);
-
 template <>
 Ref<Array<Timer::TimerSubscriberElement<TimerSubscriberSingleton<Object> > > > Timer::getAppropriateSubscribers<TimerSubscriberSingleton<Object> >()
 {