Description: fixes compilation on Debian Hurd and FreeBSD
Author: Giulio Paci <giuliopaci@gmail.com>
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/mongo/platform/random.cpp
+++ b/src/mongo/platform/random.cpp
@@ -103,7 +103,7 @@
     return new WinSecureRandom();
 }
 
-#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__freebsd__)
+#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__freebsd__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__)
 
 class InputStreamSecureRandom : public SecureRandom {
 public:
