From 367843620d039ad183bc4d7c33d91c316d717621 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Sun, 13 Sep 2015 22:07:11 +0200 Subject: Build: Include first in all source files Since Autoconf places some important feature flags only into the configuration header, it is necessary to include it globally to guarantee a consistent build. --- tests/core.c | 1 + tests/decoder.c | 1 + tests/inst.c | 1 + tests/main.c | 1 + tests/session.c | 1 + 5 files changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/core.c b/tests/core.c index 3b3d022..3b26a2e 100644 --- a/tests/core.c +++ b/tests/core.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "../libsigrokdecode.h" /* First, to avoid compiler warning. */ #include #include diff --git a/tests/decoder.c b/tests/decoder.c index 726e17c..97d5767 100644 --- a/tests/decoder.c +++ b/tests/decoder.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "../libsigrokdecode.h" /* First, to avoid compiler warning. */ #include #include diff --git a/tests/inst.c b/tests/inst.c index fe7e1f9..8d30b12 100644 --- a/tests/inst.c +++ b/tests/inst.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "../libsigrokdecode.h" /* First, to avoid compiler warning. */ #include #include diff --git a/tests/main.c b/tests/main.c index 96b6f43..19c459d 100644 --- a/tests/main.c +++ b/tests/main.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "../libsigrokdecode.h" /* First, to avoid compiler warning. */ #include #include diff --git a/tests/session.c b/tests/session.c index 2ca16b3..431ab5e 100644 --- a/tests/session.c +++ b/tests/session.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "../libsigrokdecode-internal.h" /* First, to avoid compiler warning. */ #include "../libsigrokdecode.h" #include -- cgit v1.2.3-70-g09d2