From 7171e91360bb58a4a7f914293bb22527da2400df Mon Sep 17 00:00:00 2001 From: Peter Moulder Date: Thu, 8 May 2008 03:04:37 +0000 Subject: fix a compile failure with g++-4.3 (bzr r5625) --- src/svg/svg-color-test.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3