From: Ole André Vadla Ravnås Date: Fri, 7 Mar 2008 13:19:12 +0000 (+0000) Subject: gst/gstregistrybinary.c: Include io.h for write() and close() when building with... X-Git-Tag: RELEASE-0_10_18~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7185de8a67336a042c2c5334df667cf2f1b7d3b5;p=platform%2Fupstream%2Fgstreamer.git gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877. Original commit message from CVS: Patch by: Ole André Vadla Ravnås * gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877. --- diff --git a/ChangeLog b/ChangeLog index 56c5fd7..a47c0fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-03-07 Sebastian Dröge + + Patch by: Ole André Vadla RavnÃ¥s + + + * gst/gstregistrybinary.c: + Include io.h for write() and close() when building with MSVC. Fixes + bug #520877. + 2008-03-07 Stefan Kost * configure.ac: diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index 23c3218..676de23 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -6,7 +6,7 @@ * gstregistrybinary.c: GstRegistryBinary object, support routines * * This library is free software; you can redistribute it and/or - * modify it ulnder the terms of the GNU Library General Public + * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * @@ -51,6 +51,10 @@ #include #include +#if defined (_MSC_VER) && _MSC_VER >= 1400 +#include +#endif + #include #include #include