Commit eaaae60e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mtime: remove stray #include, fix warning on Windows

We do not call clock_gettime() in this file anymore.
parent cb4e56bd
......@@ -36,15 +36,7 @@
#include <vlc_common.h>
#include <assert.h>
#include <unistd.h>
#if !defined (_POSIX_TIMERS) || defined (_WIN32)
# define _POSIX_TIMERS (-1)
#endif
#if (_POSIX_TIMERS > 0)
# include <time.h> /* clock_gettime() */
#else
# include <sys/time.h>
#endif
#include <time.h>
/**
* Convert seconds to a time in the format h:mm:ss.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment