gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)

Original commit message from CVS:
* 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)
patch by Andrew Turner <zxombie@hotpop.com>
This commit is contained in:
Andrew Turner 2004-06-05 15:40:10 +00:00 committed by Stéphane Loeuillet
parent 2ed4d814cf
commit d95fa9f8e8
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2004-06-05 Andrew Turner <zxombie@hotpop.com>
* 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 <otte@gnome.org>
* configure.ac:

View file

@ -36,6 +36,10 @@
#include <gst/gst-i18n-plugin.h>
#include <gst/dataprotocol/dataprotocol.h>
#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 */

View file

@ -30,6 +30,7 @@ extern "C" {
#include <netdb.h> /* sockaddr_in */
#include <netinet/in.h> /* sockaddr_in */
#include <unistd.h>
#include "gsttcp.h"
#define GST_TYPE_TCPCLIENTSRC \