diff --git a/ChangeLog b/ChangeLog index 5010268677..1d48516b8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2006-02-23 Tim-Philipp Müller + + * ext/cdio/Makefile.am: + Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be + required for Cygwin, see #317048) + + * gst/rtp/gstasteriskh263.c: + Cygwin has includes for both the unix network socket API + and the windows API, but only one can be included, so fix + includes to only use one or the other, prefering the unxi + one (#317048). + 2006-02-23 Philippe Kalaf * rtp/gst/gstrtppcmadepay.c: diff --git a/ext/cdio/Makefile.am b/ext/cdio/Makefile.am index a1c80e6c3f..ba454d65df 100644 --- a/ext/cdio/Makefile.am +++ b/ext/cdio/Makefile.am @@ -8,10 +8,12 @@ libgstcdio_la_SOURCES = \ libgstcdio_la_CFLAGS = \ $(GST_PLUGINS_BASE_CFLAGS) \ $(CDIO_CFLAGS) \ + $(GST_BASE_CFLAGS) \ $(GST_CFLAGS) libgstcdio_la_LIBADD = \ $(GST_PLUGINS_BASE_LIBS) -lgstcdda-@GST_MAJORMINOR@ \ + $(GST_BASE_LIBS) \ $(CDIO_LIBS) libgstcdio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/gst/rtp/gstasteriskh263.c b/gst/rtp/gstasteriskh263.c index 9597261cff..df93cfe4be 100644 --- a/gst/rtp/gstasteriskh263.c +++ b/gst/rtp/gstasteriskh263.c @@ -21,13 +21,15 @@ #include #include "gstasteriskh263.h" +/* Cygwin has both netinet/in.h and winsock2.h, but + * only one can be included, so prefer the unix one */ #ifdef HAVE_NETINET_IN_H # include -#endif - +#else #ifdef HAVE_WINSOCK2_H # include #endif +#endif #define GST_ASTERISKH263_HEADER_LEN 6