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:
Sebastian Dröge 2008-07-14 13:11:14 +00:00
parent 365186956d
commit 0aa90f93f0
2 changed files with 12 additions and 0 deletions

View file

@ -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>

View file

@ -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