[totem-pl-parser] fix includes for msvc



commit 30a4ecf2a5c86426154bf29793aa8ed668b651b6
Author: Shixin Zeng <zeng shixin gmail com>
Date:   Mon Apr 19 17:19:29 2010 -0500

    fix includes for msvc
    
    https://bugzilla.gnome.org/show_bug.cgi?id=575373

 lib/asprintf.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/asprintf.c b/lib/asprintf.c
index da4e515..755ecfe 100644
--- a/lib/asprintf.c
+++ b/lib/asprintf.c
@@ -2,8 +2,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
-#include <sys/varargs.h>
 
+#ifdef _WIN32
+#include <windows.h>
+#endif
 
 int totem_private_asprintf(char **out, const char *fmt, ...)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]