From: pjrm Date: Thu, 8 May 2008 03:04:37 +0000 (+0000) Subject: fix a compile failure with g++-4.3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f18f8a1d8bfba546e35c2b108ab140ec708fcbf;p=inkscape.git fix a compile failure with g++-4.3 --- diff --git a/src/svg/svg-color-test.h b/src/svg/svg-color-test.h index ad25d506c..b149b7a44 100644 --- a/src/svg/svg-color-test.h +++ b/src/svg/svg-color-test.h @@ -1,6 +1,6 @@ - #include #include +#include #include "svg/svg-color.h" #include "svg/svg-icc-color.h" @@ -40,6 +40,7 @@ public: } /* And a few completely random ones. */ + using std::rand; for (unsigned i = 500; i--;) { /* Arbitrary number of iterations. */ unsigned const rgb24 = (rand() >> 4) & 0xffffff; check_rgb24(rgb24);