Change in libosmocore[master]: gsm/protocol/gsm_44_004.h: fix missing include of 'endian.h'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Oct 31 07:46:35 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/26044 )

Change subject: gsm/protocol/gsm_44_004.h: fix missing include of 'endian.h'
......................................................................

gsm/protocol/gsm_44_004.h: fix missing include of 'endian.h'

Without this header, both OSMO_IS_{BIG,LITTLE}_ENDIAN macros are
not defined, and thus the 'struct gsm_sacch_l1_hdr' is empty.

Change-Id: I2c14a1b898fdb743191dab0e6be157ce916e8161
---
M include/osmocom/gsm/protocol/gsm_44_004.h
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/include/osmocom/gsm/protocol/gsm_44_004.h b/include/osmocom/gsm/protocol/gsm_44_004.h
index 83be9bf..32ef24e 100644
--- a/include/osmocom/gsm/protocol/gsm_44_004.h
+++ b/include/osmocom/gsm/protocol/gsm_44_004.h
@@ -1,5 +1,7 @@
 #pragma once
 
+#include <osmocom/core/endian.h>
+
 /* TS 44.004 Section 7.1 */
 
 struct gsm_sacch_l1_hdr {

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26044
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2c14a1b898fdb743191dab0e6be157ce916e8161
Gerrit-Change-Number: 26044
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211031/572f0859/attachment.htm>


More information about the gerrit-log mailing list