Skip to content

Commit 5d413f2

Browse files
Scott KilauMathisMARION
Scott Kilau
authored andcommitted
build: fix compile issue with missing/needed <endian.h> includes
Without adding in the include of <endian.h> in 2 files that use functions/defines from it, we end up getting compiler errors and linking errors. Origin: #25
1 parent d4d97b5 commit 5d413f2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common/crypto/ieee80211.c

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818
#include <string.h>
1919
#include <stdint.h>
20+
#include <endian.h>
2021
#include <mbedtls/md.h>
2122
#include "common/specs/ieee80211.h"
2223
#include "common/specs/eapol.h"

common/ieee802154_frame.c

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [1]: https://www.silabs.com/about-us/legal/master-software-license-agreement
1313
*/
1414
#include <errno.h>
15+
#include <endian.h>
1516

1617
#include "common/bits.h"
1718
#include "common/endian.h"

0 commit comments

Comments
 (0)