From: Marcus Comstedt Date: Sun, 29 Jun 2014 09:38:50 +0000 (+0200) Subject: runtc: Fix incorrect include directive X-Git-Tag: libsigrokdecode-0.4.0~214 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=67ecff568264e0af2cf137af1d0f4edf7a9dcf2e;p=libsigrokdecode.git runtc: Fix incorrect include directive runtc.c used to try to include "../config.h". This only works when building in the source tree, otherwise there is no config.h in the parent directory of runtc.c. However, the explicit path is unnecessary since the build directory (whether the same as the source directory or not) will always be added to the include path. --- diff --git a/tests/runtc.c b/tests/runtc.c index ab55139..9abd112 100644 --- a/tests/runtc.c +++ b/tests/runtc.c @@ -35,7 +35,7 @@ #ifdef __LINUX__ #include #endif -#include "../config.h" +#include "config.h" int debug = FALSE; int statistics = FALSE;