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 <[email protected]>

Reply via email to