summaryrefslogtreecommitdiffstats
path: root/tests/timer
diff options
context:
space:
mode:
authorAlex Badea <vamposdecampos@gmail.com>2013-01-05 20:59:00 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-01-06 00:42:26 +0100
commit695e5fb049822490a1695277d35e3006f6fd3e27 (patch)
tree92b439ae3311ec3f96e2f975fbcbc3c3b5403971 /tests/timer
parent854debc32cb858ca8f29274181e3aa837c401a01 (diff)
tests/timer: tweak path to config.h
When building out-of-srcdir, "../../config.h" fails to reach config.h because the compiler is invoked in $builddir/tests/, not $builddir/tests/timer/. Use "../config.h" instead; this also works for in-srcdir builds. Signed-off-by: Alex Badea <vamposdecampos@gmail.com>
Diffstat (limited to 'tests/timer')
-rw-r--r--tests/timer/timer_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c
index ba3127d4..bb9a177c 100644
--- a/tests/timer/timer_test.c
+++ b/tests/timer/timer_test.c
@@ -33,7 +33,7 @@
#include <osmocom/core/select.h>
#include <osmocom/core/linuxlist.h>
-#include "../../config.h"
+#include "../config.h"
static void main_timer_fired(void *data);
static void secondary_timer_fired(void *data);