fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-gprs/+/29179 )


Change subject: csn1: #include <stddef.h> in csn1.h for offsetof()
......................................................................

csn1: #include <stddef.h> in csn1.h for offsetof()

Do not require the API user to include <stddef.h>:

  note: 'offsetof' is defined in header '<stddef.h>';
        did you forget to '#include <stddef.h>'?

Change-Id: I2a144c9967b90d78d95db103eebce83822d8c64d
---
M include/osmocom/csn1/csn1.h
M src/rlcmac/gprs_rlcmac.c
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/79/29179/1

diff --git a/include/osmocom/csn1/csn1.h b/include/osmocom/csn1/csn1.h
index 3b80fad..9b29ba8 100644
--- a/include/osmocom/csn1/csn1.h
+++ b/include/osmocom/csn1/csn1.h
@@ -23,6 +23,8 @@

 #pragma once

+#include <stddef.h>
+
 #include <osmocom/core/bitvec.h>
 #include "wireshark_compat.h"

diff --git a/src/rlcmac/gprs_rlcmac.c b/src/rlcmac/gprs_rlcmac.c
index cd40387..80b399b 100644
--- a/src/rlcmac/gprs_rlcmac.c
+++ b/src/rlcmac/gprs_rlcmac.c
@@ -26,7 +26,6 @@
  */

 #include <assert.h>
-#include <stddef.h>
 #include <arpa/inet.h>

 #include <osmocom/core/utils.h>

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

Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I2a144c9967b90d78d95db103eebce83822d8c64d
Gerrit-Change-Number: 29179
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to