From: Sebastian Dröge Date: Tue, 28 May 2013 06:51:08 +0000 (+0200) Subject: ges-pitivi-formatter: Remove some unneeded includes and clean up includes X-Git-Tag: 1.19.3~493^2~1887 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7c748a7f2a8093e674498e33fee20ef4485409b;p=platform%2Fupstream%2Fgstreamer.git ges-pitivi-formatter: Remove some unneeded includes and clean up includes Fixes the build on Windows, where there's no unistd.h... which wasn't needed at all. https://bugzilla.gnome.org/show_bug.cgi?id=701115 --- diff --git a/ges/ges-pitivi-formatter.c b/ges/ges-pitivi-formatter.c index c9e1f55..b7417ac 100644 --- a/ges/ges-pitivi-formatter.c +++ b/ges/ges-pitivi-formatter.c @@ -27,14 +27,11 @@ #include #include #include -#include "libxml/encoding.h" -#include "libxml/xmlwriter.h" +#include +#include #include "ges-internal.h" #include -#include -#include -#define GetCurrentDir getcwd /* The PiTiVi etree formatter is 0.1 we set GES one to 0.2 */ #define VERSION "0.2" @@ -131,7 +128,7 @@ static void inline write_int_attribute (xmlTextWriterPtr writer, guint64 nb, const gchar * attr, const gchar * type) { - gchar *str = g_strdup_printf ("%s%" PRIu64, type, nb); + gchar *str = g_strdup_printf ("%s%" G_GUINT64_FORMAT, type, nb); xmlTextWriterWriteAttribute (writer, BAD_CAST attr, BAD_CAST str); g_free (str); }