[MERGED] osmo-ggsn[master]: gtpie: Add missing #include of <arpa/inet.h> for htonl() and...

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Oct 13 14:41:53 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: gtpie: Add missing #include of <arpa/inet.h> for htonl() and friends
......................................................................


gtpie: Add missing #include of <arpa/inet.h> for htonl() and friends

Change-Id: Id69d957d0860ee49e7f0db5c64ab8ba976f8c8d6
---
M gtp/gtpie.h
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/gtp/gtpie.h b/gtp/gtpie.h
index fa70274..754382e 100644
--- a/gtp/gtpie.h
+++ b/gtp/gtpie.h
@@ -12,6 +12,8 @@
 #ifndef _GTPIE_H
 #define _GTPIE_H
 
+#include <arpa/inet.h>
+
 /* Macroes for conversion between host and network byte order */
 #define hton8(x)  (x)
 #define ntoh8(x)  (x)

-- 
To view, visit https://gerrit.osmocom.org/4254
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id69d957d0860ee49e7f0db5c64ab8ba976f8c8d6
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list