mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's n...
Original commit message from CVS: * gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's not defined which should not cause any problems as we're using it internal only anyway.
This commit is contained in:
parent
365186956d
commit
0aa90f93f0
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-07-14 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/udp/gstudpnetutils.c:
|
||||
EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the
|
||||
old value (1) if it's not defined which should not cause any problems
|
||||
as we're using it internal only anyway.
|
||||
|
||||
2008-07-14 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Alessandro Decina <alessandro at nnva dot org>
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
#include <stdio.h>
|
||||
#include <memory.h>
|
||||
|
||||
/* EAI_ADDRFAMILY was obsoleted in BSD at some point */
|
||||
#ifndef EAI_ADDRFAMILY
|
||||
#define EAI_ADDRFAMILY 1
|
||||
#endif
|
||||
|
||||
#include "gstudpnetutils.h"
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
|
Loading…
Reference in a new issue