From f8d5b18fec6641688a0af411629743853be2177a Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Sun, 31 May 2015 12:07:42 +0200 Subject: [PATCH] vtimer: Move ENABLE_DEBUG to before irq.h and priority_queue.h include or else some debug functions will not be declared. --- sys/vtimer/vtimer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/vtimer/vtimer.c b/sys/vtimer/vtimer.c index 8d7daf6f0a..4265baa19d 100644 --- a/sys/vtimer/vtimer.c +++ b/sys/vtimer/vtimer.c @@ -21,6 +21,9 @@ #include #include +#define ENABLE_DEBUG (0) +#include "debug.h" + #include "irq.h" #include "priority_queue.h" #include "timex.h" @@ -32,8 +35,6 @@ #include "vtimer.h" -#define ENABLE_DEBUG (0) -#include "debug.h" #if ENABLE_DEBUG