[gstreamer-bugs] [Bug 317048] gstreamer Cygwin build fixes
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Jan 18 17:53:39 PST 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=317048
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Comment #25 from Cygwin Ports maintainer 2006-01-19 01:53 UTC -------
New issue:
gst-plugins-good-0.10.1: gst/rtp/gstasteriskh263.c:
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_WINSOCK2_H
# include <winsock2.h>
#endif
That's bad news for Cygwin, as we have both, <netinet/in.h> for POSIX and
<winsock2.h> from w32api. These conflict and cause a compile error. On Cygwin
the POSIX interface is preferred, and AFAIK MinGW doesn't have <netinet/*>, so
these should be made mutually exclusive, for example:
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#elif defined(HAVE_WINSOCK2_H)
# include <winsock2.h>
#endif
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list