diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c index 197b2d81f..e80c6e177 100644 --- a/gio/gtestdbus.c +++ b/gio/gtestdbus.c @@ -30,6 +30,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef G_OS_WIN32 +#include +#endif #include diff --git a/glib/gmarkup.c b/glib/gmarkup.c index 4fda725b5..86e60bb4c 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -2580,7 +2580,7 @@ _g_markup_collect_attributesv (const gchar *element_name, /* Take a copy of the va_list so that we can iterate back over it in case of * errors. */ - va_copy (ap2, ap); + G_VA_COPY (ap2, ap); while (type != G_MARKUP_COLLECT_INVALID) {