[vlc-commits] MacOS: fix compilation
Jean-Baptiste Kempf
git at videolan.org
Tue Dec 18 18:00:05 CET 2012
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 18 17:59:21 2012 +0100| [6b63f77e52e8065deab7b8496a4de270cd4ca656] | committer: Jean-Baptiste Kempf
MacOS: fix compilation
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=6b63f77e52e8065deab7b8496a4de270cd4ca656
---
npapi/support/npmac.cpp | 1 +
npapi/vlcplugin.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/npapi/support/npmac.cpp b/npapi/support/npmac.cpp
index 89e0fbf..947dac0 100644
--- a/npapi/support/npmac.cpp
+++ b/npapi/support/npmac.cpp
@@ -78,6 +78,7 @@
#define CALL_NPN(unused, FN, ...) ((*FN)(__VA_ARGS__))
#endif
+#include "../common.h"
#include "../vlcshell.h"
#ifdef __MWERKS__
diff --git a/npapi/vlcplugin.h b/npapi/vlcplugin.h
index 7feea18..f74514f 100644
--- a/npapi/vlcplugin.h
+++ b/npapi/vlcplugin.h
@@ -33,7 +33,7 @@
# include "config.h"
#endif
-#if defined(XP_UNIX)
+#if defined(XP_UNIX) && !defined(XP_MACOSX)
# if defined(USE_GTK)
# include "vlcplugin_gtk.h"
typedef class VlcPluginGtk VlcPlugin;
More information about the vlc-commits
mailing list