[vlc-commits] Fix struct timespec declaration

Jean-Baptiste Kempf git at videolan.org
Thu Dec 10 16:39:38 CET 2015


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>
 int timespec_get(struct timespec *, int);
 #endif
 



More information about the vlc-commits mailing list