Skip to content

Commit

Permalink
cpp: TProtocol.h: zephyr prefix on sys/byteorder.h
Browse files Browse the repository at this point in the history
Upstream Zephyr has moved to prefixing all headers.

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
  • Loading branch information
cfriedt committed Aug 11, 2022
1 parent 9840e27 commit 7372973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cpp/src/thrift/protocol/TProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static inline To bitwise_cast(From from) {
#include <sys/param.h>
#endif

#include <sys/byteorder.h>
#include <zephyr/sys/byteorder.h>

#define __THRIFT_BYTE_ORDER __BYTE_ORDER__
#define __THRIFT_LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__
Expand Down

0 comments on commit 7372973

Please sign in to comment.