[PATCH libosmocore] timer_test: tweak path to config.h
Alex Badea
vamposdecampos at gmail.com
Sat Jan 5 19:59:00 CET 2013
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 at gmail.com>
---
tests/timer/timer_test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c
index ba3127d..bb9a177 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);
--
1.7.0.4
More information about the baseband-devel
mailing list