aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-20 17:06:13 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-20 17:08:13 +0200
commit8b90bce962a8cc2009ceca107fc731882aaf6797 (patch)
tree2f88617e7510f322557de942e381ca8f5aff645e
parentf0829ff34bafa8c3c8dd22df17553a61c45acd5a (diff)
gtp: Add missing headers
Those headers are using types defined in other places (like sockaddr_in) and don't explicitly include them, which makes future queue_test fail. Change-Id: I65e12a067d89ef71be3719636b64f4d93ea73cc4
-rw-r--r--gtp/pdp.h1
-rw-r--r--gtp/queue.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/gtp/pdp.h b/gtp/pdp.h
index 9527464..d64d394 100644
--- a/gtp/pdp.h
+++ b/gtp/pdp.h
@@ -14,6 +14,7 @@
#define _PDP_H
#include <stdbool.h>
+#include <netinet/in.h>
#include <osmocom/core/defs.h>
diff --git a/gtp/queue.h b/gtp/queue.h
index ec5f3de..76cb7be 100644
--- a/gtp/queue.h
+++ b/gtp/queue.h
@@ -17,6 +17,8 @@
#ifndef _QUEUE_H
#define _QUEUE_H
+#include "gtp.h"
+
#define QUEUE_DEBUG 0 /* Print debug information */
#define QUEUE_SIZE 1024 /* Size of retransmission queue */