[vlc-devel] Re: Build Error in Extras/Contrib libdvdnav on Cygwin

Rafaël Carré funman at videolan.org
Thu Nov 2 03:53:36 CET 2006

Le Wed, 1 Nov 2006 21:27:56 -0500,
"Mark Moriarty" <mfmbusiness at earthlink.net> a écrit :

> In file included from ./decoder.h:29,
>                  from ../../src/dvdnav_internal.h:80,
>                  from decoder.c:35:
> /usr/include/mingw/sys/time.h:39: error: parse error before '(' token
> /usr/include/mingw/sys/time.h:39: error: parse error before "void"

> int __cdecl gettimeofday(struct timeval *__restrict__,
> 			 void *__restrict__  /*	tzp (unused)
> */);

Hi, what is your version of mingw ?

It seems my headers don't have gettimeofday and I use 3.4.5

[fun at zod /usr/i686-mingw32/include]% grep -rn gettimeofday .
[fun at zod /usr/i686-mingw32/include]% 

You can see too http://trac.videolan.org/vlc/changeset/17400

Maybe your mingw version is buggy ?

Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061102/2a2cd92a/attachment.sig>

More information about the vlc-devel mailing list