arehbein has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmocore/+/34749?usp=email )
Change subject: gsmtap_util: Fix for embedded
......................................................................
gsmtap_util: Fix for embedded
Get rid of union member using 'struct osmo sockaddr'
(we don't have libosmocore sockets for embedded)
Related: OS#6213
Change-Id: Ifaaeae622f01cbe6473d6e28046c01095139f532
---
M include/osmocom/core/osmo_io.h
1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/49/34749/1
diff --git a/include/osmocom/core/osmo_io.h b/include/osmocom/core/osmo_io.h
index b3d248f..d07cd06 100644
--- a/include/osmocom/core/osmo_io.h
+++ b/include/osmocom/core/osmo_io.h
@@ -54,7 +54,7 @@
* (e.g. setting lxh or msgb->cb). */
int (*segmentation_cb)(struct msgb *msg);
};
-
+#if (!EMBEDDED)
/* mode OSMO_IO_FD_MODE_RECVFROM_SENDTO: */
struct {
/*! call-back function emulating recvfrom */
@@ -67,6 +67,7 @@
const struct osmo_sockaddr *daddr);
};
};
+#endif /* (!EMBEDDED) */
};
void osmo_iofd_init(void);
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/34749?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ifaaeae622f01cbe6473d6e28046c01095139f532
Gerrit-Change-Number: 34749
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange