mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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:
parent
2ed4d814cf
commit
d95fa9f8e8
3 changed files with 13 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue