aboutsummaryrefslogtreecommitdiffstats
path: root/gtp
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-13 15:57:48 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-13 16:36:43 +0200
commit8376972050a3acefd98431aa98cfd26cb54f0817 (patch)
tree324c9fae015a63b15086cf64b2b1b639630d7b74 /gtp
parenta96402734409e5fa0ed89a9ef5cc87881dd0b9a0 (diff)
gtpie: Add missing #include of <arpa/inet.h> for htonl() and friends
Diffstat (limited to 'gtp')
-rw-r--r--gtp/gtpie.h2
1 files changed, 2 insertions, 0 deletions
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)