]> sigrok.org Git - pulseview.git/commitdiff
logicsegment.cpp: Add missing config.h #include.
authorUwe Hermann <redacted>
Sat, 19 May 2018 17:31:59 +0000 (19:31 +0200)
committerUwe Hermann <redacted>
Sat, 19 May 2018 17:57:36 +0000 (19:57 +0200)
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

index 58cf00e5dddbfcc6e1514cb0534084546fbe3dec..3896ff2151efc09989d34211b78399f017473c88 100644 (file)
@@ -17,6 +17,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "config.h" // For HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
+
 #include <extdef.h>
 
 #include <cassert>