diff --git a/ChangeLog b/ChangeLog index be60a0b465..175034c645 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-06-05 Andrew Turner + + * gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD) + * gst/tcp/gsttcpclientsrc.h: idem + - define MSG_NOSIGNAL if not done + - include unistd.h for off_t + (fixes #143749) + 2004-06-05 Benjamin Otte * configure.ac: diff --git a/gst/tcp/gsttcp.c b/gst/tcp/gsttcp.c index 68bbddd9a1..343b57de0c 100644 --- a/gst/tcp/gsttcp.c +++ b/gst/tcp/gsttcp.c @@ -36,6 +36,10 @@ #include #include +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif + /* resolve host to IP address, throwing errors if it fails */ /* host can already be an IP address */ /* returns a newly allocated gchar * with the dotted ip address */ diff --git a/gst/tcp/gsttcpclientsrc.h b/gst/tcp/gsttcpclientsrc.h index 7dd5d4e02f..414082b03e 100644 --- a/gst/tcp/gsttcpclientsrc.h +++ b/gst/tcp/gsttcpclientsrc.h @@ -30,6 +30,7 @@ extern "C" { #include /* sockaddr_in */ #include /* sockaddr_in */ +#include #include "gsttcp.h" #define GST_TYPE_TCPCLIENTSRC \