Get libc++ building on Sun Solaris. Patch from C Bergstrom.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@226947 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/random b/include/random
index a8d21a2..bccf92a 100644
--- a/include/random
+++ b/include/random
@@ -1634,9 +1634,10 @@
#include <__config>
#include <cstddef>
+#include <cstdint>
+#include <cmath>
#include <type_traits>
#include <initializer_list>
-#include <cstdint>
#include <limits>
#include <algorithm>
#include <numeric>
@@ -1644,7 +1645,6 @@
#include <string>
#include <istream>
#include <ostream>
-#include <cmath>
#include <__undef_min_max>