From ae87215a25921a146be4b2ccd22192f529ff9b4e Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Sat, 2 Feb 2008 14:11:19 +0000 Subject: [PATCH] Include stdint.h for uint32_t. i'm not sure how portable it is and how to make it better without including config.h --- include/vlc/mediacontrol_structures.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/vlc/mediacontrol_structures.h b/include/vlc/mediacontrol_structures.h index d0290bdde0..8d7f9b8502 100644 --- a/include/vlc/mediacontrol_structures.h +++ b/include/vlc/mediacontrol_structures.h @@ -34,6 +34,8 @@ extern "C" { # endif +#include + /** * A position may have different origins: * - absolute counts from the movie start @@ -85,7 +87,7 @@ typedef struct { int width; int height; uint32_t type; - int64_t date; + vlc_int64_t date; int size; char *data; } mediacontrol_RGBPicture; @@ -120,8 +122,8 @@ typedef struct { typedef struct { mediacontrol_PlayerStatus streamstatus; char *url; /* The URL of the current media stream */ - int64_t position; /* actual location in the stream (in ms) */ - int64_t length; /* total length of the stream (in ms) */ + vlc_int64_t position; /* actual location in the stream (in ms) */ + vlc_int64_t length; /* total length of the stream (in ms) */ } mediacontrol_StreamInformation; -- 2.39.2