From: Christophe Mutricy Date: Sat, 2 Feb 2008 14:11:19 +0000 (+0000) Subject: Include stdint.h for uint32_t. i'm not sure how portable it is and how to make it... X-Git-Tag: 0.9.0-test0~3008 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ae87215a25921a146be4b2ccd22192f529ff9b4e;p=vlc Include stdint.h for uint32_t. i'm not sure how portable it is and how to make it better without including config.h --- 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;