From 1c246fd37b2f6934dade7d29b7af710bf1f0743e Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 13 Feb 2014 22:03:09 -0500 Subject: [PATCH] include for IPPROTO_* POSIX says that we need for IPPROTO_* to be defined, so make sure we include it. It also ensures that we get a definition of 'struct sockaddr' which appears in the rawudp header as an argument type. --- transmitters/multicast/fs-multicast-transmitter.c | 1 + transmitters/rawudp/fs-rawudp-transmitter.h | 1 + 2 files changed, 2 insertions(+) diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c index 24eeb78..61a4a75 100644 --- a/transmitters/multicast/fs-multicast-transmitter.c +++ b/transmitters/multicast/fs-multicast-transmitter.c @@ -54,6 +54,7 @@ # define close closesocket #else /*G_OS_WIN32*/ # include +# include # include #endif /*G_OS_WIN32*/ diff --git a/transmitters/rawudp/fs-rawudp-transmitter.h b/transmitters/rawudp/fs-rawudp-transmitter.h index 23ec312..6fd8302 100644 --- a/transmitters/rawudp/fs-rawudp-transmitter.h +++ b/transmitters/rawudp/fs-rawudp-transmitter.h @@ -34,6 +34,7 @@ # include #else /*G_OS_WIN32*/ # include +# include #endif /*G_OS_WIN32*/ G_BEGIN_DECLS -- 1.8.5.3