From 4672059d948a3ad9701341b9686abd45301e057b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 1 Aug 2015 23:35:19 +0000 Subject: mgcp: Include enough socket data structures to build on freebsd in_address is not 'accidently' included by FreeBSD when we include the osmocom/core/select.h header file. We need to include a bit more. In file included from mgcp_protocol.c:38: ../../include/openbsc/mgcp_internal.h:134:21: error: field has incomplete type 'struct sockaddr_in' struct sockaddr_in forward; --- openbsc/include/openbsc/mgcp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index f334ac86b..fb16cb40f 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -30,6 +30,9 @@ #include "debug.h" #include +#include +#include +#include #define RTP_PORT_DEFAULT 4000 #define RTP_PORT_NET_DEFAULT 16000 -- cgit v1.2.3