aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/timer.h b/timer.h
index c470a10..47aa531 100644
--- a/timer.h
+++ b/timer.h
@@ -1,4 +1,4 @@
-/* $Id: timer.h 1136 2010-11-28 16:07:16Z mzuther $
+/* $Id: timer.h 1164 2011-12-22 10:48:01Z mjona $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/timer.h $
*
* generic timer handling
@@ -28,6 +28,7 @@
#ifndef _TIMER_H_
#define _TIMER_H_
+#include <time.h>
int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);