aboutsummaryrefslogtreecommitdiff
path: root/src/Timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timer.cc')
-rw-r--r--src/Timer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Timer.cc b/src/Timer.cc
index ba695e1..47f70de 100644
--- a/src/Timer.cc
+++ b/src/Timer.cc
@@ -19,8 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// stupid macros needed to access some functions in version 2 of the GNU C 22//use GNU extensions
23// library
24#ifndef _GNU_SOURCE 23#ifndef _GNU_SOURCE
25# define _GNU_SOURCE 24# define _GNU_SOURCE
26#endif // _GNU_SOURCE 25#endif // _GNU_SOURCE
@@ -29,15 +28,16 @@
29# include "../config.h" 28# include "../config.h"
30#endif // HAVE_CONFIG_H 29#endif // HAVE_CONFIG_H
31 30
32#include "BaseDisplay.hh"
33#include "Timer.hh" 31#include "Timer.hh"
32#include <sys/types.h>
33#include <unistd.h>
34 34
35//static var 35//static var
36BTimer::TimerList BTimer::m_timerlist; 36BTimer::TimerList BTimer::m_timerlist;
37 37
38BTimer::BTimer(TimeoutHandler *h): 38BTimer::BTimer(TimeoutHandler *h):
39m_handler(h), 39m_handler(h),
40m_timing(false) , 40m_timing(false),
41m_once(false) { 41m_once(false) {
42} 42}
43 43