Browse Source

[master] include stdlib.h instead of cstlib; for random(3) we need the former.

JINMEI Tatuya 12 years ago
parent
commit
b9608c20b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/resolver/bench/fake_resolution.cc

+ 1 - 1
src/bin/resolver/bench/fake_resolution.cc

@@ -20,7 +20,7 @@
 #include <boost/bind.hpp>
 #include <boost/foreach.hpp>
 #include <algorithm>
-#include <cstdlib>
+#include <stdlib.h> // not cstdlib, which doesn't officially have random()
 
 namespace isc {
 namespace resolver {