[vlc-devel] commit: activex: snprintf is defined in stdio.h, include it ( Anthony Loiseau )

git version control git at videolan.org
Wed Feb 11 16:52:50 CET 2009


vlc | branch: master | Anthony Loiseau <anthony.loiseau at gmail.com> | Wed Feb 11 10:24:18 2009 +0100| [484a11efab77b387b18a3ed93f717e886603ac97] | committer: Rémi Denis-Courmont 

activex: snprintf is defined in stdio.h, include it

This applies for plugin.cpp, vlccontrol2.cpp and persistpropbag.

Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=484a11efab77b387b18a3ed93f717e886603ac97
---

 projects/activex/persistpropbag.h |    1 +
 projects/activex/plugin.cpp       |    1 +
 projects/activex/vlccontrol2.cpp  |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/projects/activex/persistpropbag.h b/projects/activex/persistpropbag.h
index bd1dd88..4a4878d 100644
--- a/projects/activex/persistpropbag.h
+++ b/projects/activex/persistpropbag.h
@@ -23,6 +23,7 @@
 #ifndef __PERSISTPROPBAG_H__
 #define __PERSISTPROPBAG_H__
 
+#include <stdio.h>
 #include <ocidl.h>
 
 class VLCPersistPropertyBag : public IPersistPropertyBag
diff --git a/projects/activex/plugin.cpp b/projects/activex/plugin.cpp
index f9410c6..445bd59 100644
--- a/projects/activex/plugin.cpp
+++ b/projects/activex/plugin.cpp
@@ -40,6 +40,7 @@
 
 #include "utils.h"
 
+#include <stdio.h>
 #include <string.h>
 #include <winreg.h>
 #include <winuser.h>
diff --git a/projects/activex/vlccontrol2.cpp b/projects/activex/vlccontrol2.cpp
index 8e3957d..3ce374c 100644
--- a/projects/activex/vlccontrol2.cpp
+++ b/projects/activex/vlccontrol2.cpp
@@ -27,6 +27,7 @@
 
 #include "utils.h"
 
+#include <stdio.h>
 #include <shlwapi.h>
 #include <wininet.h>
 #include <tchar.h>




More information about the vlc-devel mailing list