]> git.sesse.net Git - vlc/commitdiff
* mozilla/: Tried to fix the build with mozilla 1.4. Tested on Debian.
authorSam Hocevar <sam@videolan.org>
Mon, 7 Jul 2003 12:04:50 +0000 (12:04 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 7 Jul 2003 12:04:50 +0000 (12:04 +0000)
mozilla/support/npmac.cpp
mozilla/support/npunix.c
mozilla/vlcpeer.cpp

index 27c3ef0b9f6f45eaf6e1b80950badd1391b53645..ddc581bcc44973b4b8b0112a35c380c2e20cd7f5 100644 (file)
@@ -66,6 +66,7 @@
     #include <A4Stuff.h>
 #endif
 
+#include "nscore.h"
 #include "jri.h"
 #include "npapi.h"
 
index d8d5e1ae1ceef72db1970a7136b948c302929b98..4b42f22197a6c3adc0fdbe6e09bc1f61733e9939 100644 (file)
  *----------------------------------------------------------------------
  * PLUGIN DEVELOPERS:
  *  YOU WILL NOT NEED TO EDIT THIS FILE.
+ * TO NETSCAPE DEVELOPERS:
+ *  OF COURSE I WILL NEED TO EDIT THIS FILE, YOU BORKED IT ALL AROUND YOU
+ *  IGNORANT FOOLS -- sam
  *----------------------------------------------------------------------
  */
 
 #define XP_UNIX 1
 
 #include <stdio.h>
+#include "nscore.h"
 #include "npapi.h"
 #include "npupp.h"
 
@@ -367,7 +371,7 @@ NP_GetMIMEDescription(void)
  *    that the navigator needs.
  */
 NPError
-NP_GetValue(NPP future, NPPVariable variable, void *value)
+NP_GetValue(void *future, NPPVariable variable, void *value)
 {
     return NPP_GetValue(future, variable, value);
 }
index 0b581289a95beb107605fc6f436554e7fdac5311..cfdb24561eb2084b6c32b04926cebba82390cbfc 100644 (file)
@@ -2,7 +2,7 @@
  * vlcpeer.cpp: scriptable peer descriptor
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: vlcpeer.cpp,v 1.3 2002/10/11 22:32:56 sam Exp $
+ * $Id: vlcpeer.cpp,v 1.4 2003/07/07 12:04:50 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
  *****************************************************************************/
 #include <vlc/vlc.h>
 
+#include "nsISupports.h"
+#include "nsMemory.h"
+
 #include "npapi.h"
 #include "vlcpeer.h"
 #include "vlcplugin.h"
 
-#include "nsMemory.h"
-
 NS_IMPL_ISUPPORTS2( VlcPeer, VlcIntf, nsIClassInfo )
 
 /*****************************************************************************