]> git.sesse.net Git - vlc/commitdiff
Compile fix. In mingw32 there is a sys/time.h with struct timeval. Someone under...
authorChristophe Mutricy <xtophe@videolan.org>
Mon, 12 Feb 2007 14:00:55 +0000 (14:00 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 12 Feb 2007 14:00:55 +0000 (14:00 +0000)
src/misc/mtime.c

index d3d80a60f3ebe864125a4bf40497b6d3a06aa73e..6267c0892c6f2e858e5f186d1251192d4a8f1f26 100644 (file)
@@ -51,7 +51,8 @@
 
 #if defined( WIN32 ) || defined( UNDER_CE )
 #   include <windows.h>
-#else
+#endif
+#if defined(HAVE_SYS_TIME_H)
 #   include <sys/time.h>
 #endif