summaryrefslogtreecommitdiff
path: root/tests/session.c
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 22:07:11 +0200
committerDaniel Elstner <daniel.kitta@gmail.com>2015-09-13 22:07:11 +0200
commit367843620d039ad183bc4d7c33d91c316d717621 (patch)
treec2deb210b2f59905493a6a4cc9a4f7e87331354c /tests/session.c
parent4916b17368e8ed06f4bfd045052ab0f891c33954 (diff)
downloadlibsigrokdecode-367843620d039ad183bc4d7c33d91c316d717621.tar.gz
libsigrokdecode-367843620d039ad183bc4d7c33d91c316d717621.zip
Build: Include <config.h> 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.
Diffstat (limited to 'tests/session.c')
-rw-r--r--tests/session.c1
1 files changed, 1 insertions, 0 deletions
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 <config.h>
#include "../libsigrokdecode-internal.h" /* First, to avoid compiler warning. */
#include "../libsigrokdecode.h"
#include <stdint.h>