diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-05-19 22:34:32 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-05-19 22:37:41 +0200 |
commit | 3b64bed09285ffa1ec723a16717ef6fc59a56091 (patch) | |
tree | 702d45d23125282a01fb42aa4d4d07d18191d81d | |
parent | 05c377f1980af49936602b9ccc13f7b0e0a2f32a (diff) |
big endian: add missing endian.h in sccp.c
sccp.c uses #ifdef OSMO_IS_LITTLE_ENDIAN, but fails to include endian.h, i.e.
it would build little endian also on big endian systems.
Found by libosmocore/contrib/struct_endianness.py.
Change-Id: I5906d94e0e0a74674c3a14cf2ec81c681e696474
-rw-r--r-- | src/sccp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ #include <osmocom/core/msgb.h> #include <osmocom/core/talloc.h> #include <osmocom/core/logging.h> +#include <osmocom/core/endian.h> #include <osmocom/gsm/tlv.h> #include <osmocom/sccp/sccp.h> |