diff --git a/ChangeLog b/ChangeLog index 612decd45..07a88c9c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -126,6 +126,8 @@ are not used. + Fixed bug #792, #793, #794 and #795, so that cmake now recognizes and builds on Solaris (thanks to Owen Clarke). + + Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen + Clarke). # Untracked Bugs, biggest first. + Fixed bug that required the '%YAML' prologue in a YAML import. diff --git a/src/main.cpp b/src/main.cpp index a2b1656af..8c0c138f9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,9 +52,9 @@ int main (int argc, const char** argv) srand (time (NULL)); #endif #else - #ifdef HAVE_SRANDOM struct timeval tv; gettimeofday (&tv, NULL); + #ifdef HAVE_SRANDOM srandom (tv.tv_usec); #else srand (tv.tv_usec);