projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5b52e
)
logicsegment.cpp: Add missing config.h #include.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 19 May 2018 17:31:59 +0000
(19:31 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
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
patch
|
blob
|
history
diff --git
a/pv/data/logicsegment.cpp
b/pv/data/logicsegment.cpp
index 58cf00e5dddbfcc6e1514cb0534084546fbe3dec..3896ff2151efc09989d34211b78399f017473c88 100644
(file)
--- a/
pv/data/logicsegment.cpp
+++ b/
pv/data/logicsegment.cpp
@@
-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>