[vlc-devel] [PATCH] vlc_fixups: add a dummy struct timezone definition

Steve Lhomme robux4 at videolabs.io
Wed Jul 13 09:11:45 CEST 2016


--
replaces https://patches.videolan.org/patch/13928/ by not defining the inside
of the struct.
---
 include/vlc_fixups.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 52209dc..935845c 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -225,6 +225,7 @@ int timespec_get(struct timespec *, int);
 
 /* sys/time.h */
 #ifndef HAVE_GETTIMEOFDAY
+struct timezone;
 int gettimeofday(struct timeval *, struct timezone *);
 #endif
 
-- 
2.8.2



More information about the vlc-devel mailing list