From 1ec3e43f7489cae3a9ca43e665044c8717f345f1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 19 May 2018 19:31:59 +0200 Subject: [PATCH] logicsegment.cpp: Add missing config.h #include. Without this #include, HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS was not available and thus the faster path in LogicSegment::unpack_sample() and LogicSegment::pack_sample() was never used. --- pv/data/logicsegment.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pv/data/logicsegment.cpp b/pv/data/logicsegment.cpp index 58cf00e5..3896ff21 100644 --- a/pv/data/logicsegment.cpp +++ b/pv/data/logicsegment.cpp @@ -17,6 +17,8 @@ * along with this program; if not, see . */ +#include "config.h" // For HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS + #include #include -- 2.30.2