]> git.sesse.net Git - vlc/blobdiff - modules/control/ntservice.c
Don't clutter REGISTRY on windows...
[vlc] / modules / control / ntservice.c
index 7eed573b3ab7408f1fd51e95c8596f87587d4ba1..52aa47c1ac58483f90bab2af55d918ad77f6c03b 100644 (file)
@@ -28,7 +28,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_interface.h>
 
@@ -319,7 +319,7 @@ static void WINAPI ServiceDispatch( DWORD numArgs, char **args )
             sprintf( psz_temp, "%s,none", psz_module );
 
             /* Try to create the interface */
-            p_new_intf = intf_Create( p_intf, psz_temp, 0, NULL );
+            p_new_intf = intf_Create( p_intf, psz_temp );
             if( p_new_intf == NULL )
             {
                 msg_Err( p_intf, "interface \"%s\" initialization failed",