]> git.sesse.net Git - vlc/blobdiff - modules/control/http/http.c
Include vlc_plugin.h as needed
[vlc] / modules / control / http / http.c
index 88cdfa99072558a7f421b6f9993db801c6e109b7..bf65904f93b405b29da2c87b7a68a1f87de6f00f 100644 (file)
@@ -27,6 +27,7 @@
 #endif
 
 #include "http.h"
+#include <vlc_plugin.h>
 
 /*****************************************************************************
  * Module descriptor
@@ -442,9 +443,9 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer,
         var_Get( p_sys->p_input, "position", &val);
         sprintf( position, "%d" , (int)((val.f_float) * 100.0));
         var_Get( p_sys->p_input, "time", &val);
-        sprintf( time, I64Fi, (int64_t)val.i_time / I64C(1000000) );
+        sprintf( time, "%"PRIi64, (int64_t)val.i_time / INT64_C(1000000) );
         var_Get( p_sys->p_input, "length", &val);
-        sprintf( length, I64Fi, (int64_t)val.i_time / I64C(1000000) );
+        sprintf( length, "%"PRIi64, (int64_t)val.i_time / INT64_C(1000000) );
 
         var_Get( p_sys->p_input, "state", &val );
         if( val.i_int == PLAYING_S )