vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Dec 10 19:55:18 2015 +0200| [77874cb23ea842c4a01e36fc2f4cbda07b3c814a] | committer: Rémi Denis-Courmont
compat: missing #include > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77874cb23ea842c4a01e36fc2f4cbda07b3c814a --- compat/timespec_get.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compat/timespec_get.c b/compat/timespec_get.c index 63bd454..350e912 100644 --- a/compat/timespec_get.c +++ b/compat/timespec_get.c @@ -27,6 +27,9 @@ #ifndef _POSIX_TIMERS #define _POSIX_TIMERS (-1) #endif +#if (_POSIX_TIMERS <= 0) +# include <sys/time.h> /* gettimeofday() */ +#endif int timespec_get(struct timespec *ts, int base) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
