[vlc-commits] npapi: common.h: Fix msvc build

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 21 10:16:10 CEST 2015


npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr  3 13:06:16 2015 +0200| [49b4d7f268a2df9a9418bfa4fc112a08071bcbf1] | committer: Hugo Beauzée-Luyssen

npapi: common.h: Fix msvc build

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=49b4d7f268a2df9a9418bfa4fc112a08071bcbf1
---

 npapi/common.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/npapi/common.h b/npapi/common.h
index f173ced..2c77463 100644
--- a/npapi/common.h
+++ b/npapi/common.h
@@ -60,6 +60,10 @@
 
 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
 
+#ifdef XP_WIN
+# include <Windows.h>
+#endif
+
 // Include stdint before NP*.h
 #include <stdint.h>
 



More information about the vlc-commits mailing list