]> sigrok.org Git - libsigrokdecode.git/commitdiff
runtc: Fix incorrect include directive
authorMarcus Comstedt <redacted>
Sun, 29 Jun 2014 09:38:50 +0000 (11:38 +0200)
committerBert Vermeulen <redacted>
Tue, 8 Jul 2014 13:42:44 +0000 (15:42 +0200)
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.

tests/runtc.c

index ab5513958606aa35a0d33e720d740c82a589f1ee..9abd1123eb3c4ae58e516c0aa193531737451348 100644 (file)
@@ -35,7 +35,7 @@
 #ifdef __LINUX__
 #include <sched.h>
 #endif
-#include "../config.h"
+#include "config.h"
 
 int debug = FALSE;
 int statistics = FALSE;