[PATCH libosmocore] timer_test: tweak path to config.h

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Alex Badea vamposdecampos at gmail.com
Sat Jan 5 18:59:00 UTC 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