aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william+solaris@25tandclement.com> 2014-04-03 14:45:13 -0700
committerLibravatarLibravatar william <william+solaris@25tandclement.com> 2014-04-03 14:45:13 -0700
commitb549aa3ca66b3e823250a9c5bd027056e6c51c9b (patch)
treebdf439170234e43ab6f368d55812615a5a31be1c /src
parentc5351ea4c69ad43dbad6179760307d98eeddbb4f (diff)
downloadluaossl-b549aa3ca66b3e823250a9c5bd027056e6c51c9b.tar.gz
luaossl-b549aa3ca66b3e823250a9c5bd027056e6c51c9b.tar.bz2
luaossl-b549aa3ca66b3e823250a9c5bd027056e6c51c9b.zip
forgot that solaris doesn't have sysctl.h
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c2
1 files changed, 2 insertions, 0 deletions
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 */