diff --git a/ChangeLog b/ChangeLog index 56c5fd7c27..a47c0fb4ed 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 23c32189cd..676de236ab 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