aboutsummaryrefslogtreecommitdiff
path: root/rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rng.cpp')
-rw-r--r--rng.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rng.cpp b/rng.cpp
index aba1c02..a6c61f5 100644
--- a/rng.cpp
+++ b/rng.cpp
@@ -4,6 +4,12 @@
#include <cassert>
#include "rng.h"
+#ifdef __APPLE__
+#include <cstdlib>
+#else
+#include <bsd/stdlib.h>
+#endif
+
using namespace std;