diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2014-06-29 11:38:50 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-07-08 15:42:44 +0200 |
commit | 67ecff568264e0af2cf137af1d0f4edf7a9dcf2e (patch) | |
tree | ec0eaa55cd2db71e8914d34bc01c36913ba8e80c /tests | |
parent | 6a0341595610c9d14d4121bb8fa82ab7eeb03693 (diff) | |
download | libsigrokdecode-67ecff568264e0af2cf137af1d0f4edf7a9dcf2e.tar.gz libsigrokdecode-67ecff568264e0af2cf137af1d0f4edf7a9dcf2e.zip |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sched.h> #endif -#include "../config.h" +#include "config.h" int debug = FALSE; int statistics = FALSE; |