summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwilliam <william+solaris@25tandclement.com>2014-04-03 14:45:13 -0700
committerwilliam <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 @@
35#include <errno.h> /* errno */ 35#include <errno.h> /* errno */
36 36
37#include <sys/types.h> /* ssize_t pid_t */ 37#include <sys/types.h> /* ssize_t pid_t */
38#if !defined __sun
38#include <sys/sysctl.h> /* CTL_KERN KERN_RANDOM RANDOM_UUID KERN_URND KERN_ARND sysctl(2) */ 39#include <sys/sysctl.h> /* CTL_KERN KERN_RANDOM RANDOM_UUID KERN_URND KERN_ARND sysctl(2) */
40#endif
39#include <sys/time.h> /* struct timeval gettimeofday(2) */ 41#include <sys/time.h> /* struct timeval gettimeofday(2) */
40#include <sys/stat.h> /* struct stat stat(2) */ 42#include <sys/stat.h> /* struct stat stat(2) */
41#include <sys/socket.h> /* AF_INET AF_INET6 */ 43#include <sys/socket.h> /* AF_INET AF_INET6 */