From b549aa3ca66b3e823250a9c5bd027056e6c51c9b Mon Sep 17 00:00:00 2001
From: william <william+solaris@25tandclement.com>
Date: Thu, 3 Apr 2014 14:45:13 -0700
Subject: forgot that solaris doesn't have sysctl.h

---
 src/openssl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/openssl.c b/src/openssl.c
index 967665f..4a21c69 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -35,7 +35,9 @@
 #include <errno.h>        /* errno */
 
 #include <sys/types.h>    /* ssize_t pid_t */
+#if !defined __sun
 #include <sys/sysctl.h>   /* CTL_KERN KERN_RANDOM RANDOM_UUID KERN_URND KERN_ARND sysctl(2) */
+#endif
 #include <sys/time.h>     /* struct timeval gettimeofday(2) */
 #include <sys/stat.h>     /* struct stat stat(2) */
 #include <sys/socket.h>   /* AF_INET AF_INET6 */
-- 
cgit v1.2.3-59-g8ed1b