From: Kwang Yul Seo Date: Sun, 13 Apr 2008 17:51:02 +0000 (+0000) Subject: Define socklen_t as int if it's not defined yet. Fixes compilation with MSVC6 and... X-Git-Tag: RELEASE-0_10_20~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45b9ce9e3b2f4cce4091459ba4e5b22262befd23;p=platform%2Fupstream%2Fgstreamer.git Define socklen_t as int if it's not defined yet. Fixes compilation with MSVC6 and other versions where socklen_t is n... Original commit message from CVS: Patch by: Kwang Yul Seo * libs/gst/net/gstnettimepacket.h: * docs/libs/gstreamer-libs-sections.txt: Define socklen_t as int if it's not defined yet. Fixes compilation with MSVC6 and other versions where socklen_t is not defined in the windows headers (#518022). --- diff --git a/ChangeLog b/ChangeLog index 8f37656..9753f6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-04-13 Tim-Philipp Müller + + Patch by: Kwang Yul Seo + + * libs/gst/net/gstnettimepacket.h: + * docs/libs/gstreamer-libs-sections.txt: + Define socklen_t as int if it's not defined yet. Fixes compilation + with MSVC6 and other versions where socklen_t is not defined in + the windows headers (#518022). + 2008-04-13 Sebastian Dröge * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin): diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index bbd704a..f395bae 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -465,6 +465,7 @@ gst_net_time_packet_send gst_net_time_packet_serialize +socklen_t diff --git a/libs/gst/net/gstnettimepacket.h b/libs/gst/net/gstnettimepacket.h index 5d881be..48eefa7 100644 --- a/libs/gst/net/gstnettimepacket.h +++ b/libs/gst/net/gstnettimepacket.h @@ -32,6 +32,9 @@ G_BEGIN_DECLS #ifdef G_OS_WIN32 #include #include +#ifndef socklen_t +#define socklen_t int +#endif #else #include #include