1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

compat: missing #include

This commit is contained in:
Rémi Denis-Courmont 2015-12-10 19:55:18 +02:00
parent 8f629e451e
commit 77874cb23e

View File

@ -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)
{