a2dp-codecs: Add needed includes and properly check for endian macros
authorPali Rohár <pali.rohar@gmail.com>
Sun, 23 Dec 2018 10:40:18 +0000 (11:40 +0100)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 07:36:35 +0000 (13:06 +0530)
commitb505d9c830755a4008d56c515629b42d26450b67
tree1e3d9cab37d1314cc38c80290277be4dc08cf3d0
parentab94946038bfb3c1f666e632a5cf5b20ac800154
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.

Change-Id: I8e583cbf8c2f05cb5c2980301d383904b3e42020
Signed-off-by: himanshu <h.himanshu@samsung.com>
profiles/audio/a2dp-codecs.h