$NetBSD: patch-ac,v 1.3 2005/02/20 01:09:28 wiz Exp $ --- lbreakout/game.cpp.orig 2001-03-11 17:53:45.000000000 +0100 +++ lbreakout/game.cpp @@ -15,6 +15,8 @@ * * ***************************************************************************/ +#include +#include #include #include #include @@ -196,9 +198,9 @@ Game::Game() CheckLevelFile(); //randomize - timeb t; - ftime(&t); - srand((unsigned int)t.time); + time_t t; + time(&t); + srand((unsigned int)t); #ifdef SOUND //load waves