Øystein Johansen <[EMAIL PROTECTED]> writes:
> There was a problem in dice.c
> dice.c: In function .RNGSystemSeed.:
> dice.c:789: error: storage size of .tz. isn.t known
> if( !f ) {
> #if HAVE_GETTIMEOFDAY
> struct timeval tv;
> struct timezone tz;
> if( !gettimeofday( &tv, &tz ) )
> n = tv.tv_sec ^ tv.tv_usec;
> else
> #endif
No modern Unix system does anything with the second argument to
gettimeofday any more. You can almost certainly just delete the tz
variable and change &tz to NULL in the call.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg