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/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Oct 29 17:28:05 UTC 2021


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/44/26044/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211029/b3d6c75e/attachment.htm>


More information about the gerrit-log mailing list