Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
external
/
subpack
/
utils
/
bluez
/
patches
/
202-fix-endianness.patch
blob: c0086cc28745cee5c208faa5a7a8b03fbbdcb969 [
file
] [
log
] [
blame
]
---
a
/
src
/
shared
/
util
.
h
+++
b
/
src
/
shared
/
util
.
h
@@
-
15
,
6
+
15
,
7
@@
#include
<byteswap.h>
#include
<string.h>
#include
<sys/types.h>
+#
include
<endian.h>
#define
ARRAY_SIZE
(
arr
)
(
sizeof
(
arr
)
/
sizeof
((
arr
)[
0
]))
#define
BIT
(
n
)
(
1
<<
(
n
))