pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ggsn/+/14556


Change subject: gtp: Add missing headers
......................................................................

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
---
M gtp/pdp.h
M gtp/queue.h
2 files changed, 3 insertions(+), 0 deletions(-)



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

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

--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/14556
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I65e12a067d89ef71be3719636b64f4d93ea73cc4
Gerrit-Change-Number: 14556
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to