Commit 5a0b0cf0 authored by Sam Hocevar's avatar Sam Hocevar

* mozilla/: Tried to fix the build with mozilla 1.4. Tested on Debian.

parent 77d984b0
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
#include <A4Stuff.h> #include <A4Stuff.h>
#endif #endif
#include "nscore.h"
#include "jri.h" #include "jri.h"
#include "npapi.h" #include "npapi.h"
......
...@@ -32,12 +32,16 @@ ...@@ -32,12 +32,16 @@
*---------------------------------------------------------------------- *----------------------------------------------------------------------
* PLUGIN DEVELOPERS: * PLUGIN DEVELOPERS:
* YOU WILL NOT NEED TO EDIT THIS FILE. * 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 #define XP_UNIX 1
#include <stdio.h> #include <stdio.h>
#include "nscore.h"
#include "npapi.h" #include "npapi.h"
#include "npupp.h" #include "npupp.h"
...@@ -367,7 +371,7 @@ NP_GetMIMEDescription(void) ...@@ -367,7 +371,7 @@ NP_GetMIMEDescription(void)
* that the navigator needs. * that the navigator needs.
*/ */
NPError NPError
NP_GetValue(NPP future, NPPVariable variable, void *value) NP_GetValue(void *future, NPPVariable variable, void *value)
{ {
return NPP_GetValue(future, variable, value); return NPP_GetValue(future, variable, value);
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlcpeer.cpp: scriptable peer descriptor * vlcpeer.cpp: scriptable peer descriptor
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * 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> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -26,12 +26,13 @@ ...@@ -26,12 +26,13 @@
*****************************************************************************/ *****************************************************************************/
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include "nsISupports.h"
#include "nsMemory.h"
#include "npapi.h" #include "npapi.h"
#include "vlcpeer.h" #include "vlcpeer.h"
#include "vlcplugin.h" #include "vlcplugin.h"
#include "nsMemory.h"
NS_IMPL_ISUPPORTS2( VlcPeer, VlcIntf, nsIClassInfo ) NS_IMPL_ISUPPORTS2( VlcPeer, VlcIntf, nsIClassInfo )
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment