From: Uwe Hermann Date: Sat, 19 May 2018 17:31:59 +0000 (+0200) Subject: logicsegment.cpp: Add missing config.h #include. X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=1ec3e43f7489cae3a9ca43e665044c8717f345f1;ds=sidebyside 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. --- 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