[vlc-commits] mtime.c compilation fix

Felix Paul Kühne git at videolan.org
Wed Jul 13 15:27:06 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul 13 15:26:47 2011 +0200| [86f49121ca1153b1572913609e716a82d332ef13] | committer: Felix Paul Kühne

mtime.c compilation fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86f49121ca1153b1572913609e716a82d332ef13
---

 src/misc/mtime.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index fc4abdf..b811d10 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -42,6 +42,8 @@
 #if !defined (_POSIX_TIMERS)
 # define _POSIX_TIMERS (-1)
 # include <sys/time.h>
+#elif defined __APPLE__
+# include <sys/time.h>
 #else
 # include <time.h> /* clock_gettime() */
 #endif



More information about the vlc-commits mailing list