Commit: 338bc55c7a1a34e3d8c3afeba1283249cb5930dd
Parent: f29a5de80bd49e861992f97e4479440f01e4cc7a
Author: Pali Rohár <pali.rohar@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-12-28 20:09:41
Tree: 0cc00b06e6117d4cca4d8a37c0d7373eee40cf29

a2dp-codecs: Add needed includes and properly check for endian macros Without stdint.h type uint8_t cannot be used. And without endian.h macros __BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN are not defined. When both __BYTE_ORDER and __LITTLE_ENDIAN macros are not defined, then condition #if __BYTE_ORDER == __LITTLE_ENDIAN is true.

Diffstat

M profiles/audio/a2dp-codecs.h | 9 +++++++- -

1 files changed, 7 insertions(+), 2 deletions(-)

View Full Diff | Patch