[PATCH] 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:28:09 UTC 2017


Review at  https://gerrit.osmocom.org/4254

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/54/4254/1

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: newchange
Gerrit-Change-Id: Id69d957d0860ee49e7f0db5c64ab8ba976f8c8d6
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list