[vlc-devel] [vlc-commits] Fix struct timespec declaration
Rémi Denis-Courmont
remi at remlab.net
Thu Dec 10 16:44:42 CET 2015
Le 2015-12-10 17:39, git at videolan.org a écrit :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu
> Dec 10 16:39:12 2015 +0100|
> [3f5129b51e79162068a39200f13f3f0ba773364d]
> | committer: Jean-Baptiste Kempf
>
> Fix struct timespec declaration
>
>>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f5129b51e79162068a39200f13f3f0ba773364d
> ---
>
> include/vlc_fixups.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
> index d956c05..7f01c44 100644
> --- a/include/vlc_fixups.h
> +++ b/include/vlc_fixups.h
> @@ -200,6 +200,7 @@ struct tm *localtime_r (const time_t *, struct tm
> *);
>
> #ifndef HAVE_TIMESPEC_GET
> #define TIME_UTC 1
> +#include <time.h>
You don't need time.h here. Just:
struct timespec;
> int timespec_get(struct timespec *, int);
> #endif
>
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list