summaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-13 14:09:15 +0000
commit362d815b81e2b4b66c33b99203d821b8928607e1 (patch)
tree491848d33dbdf1751fd52f321d3fbf70a8e616f2 /src/random.cpp
parent1828c5696f7bf5850943ea6c660a493a5e648669 (diff)
Notes
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/random.cpp b/src/random.cpp
index eca97bc819431..6140b74ecb5f9 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -10,6 +10,9 @@
#include "random"
#include "system_error"
+#ifdef __sun__
+#define rename solaris_headers_are_broken
+#endif
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>