diff options
author | William Ahern <william+alpine@25thandClement.com> | 2016-06-25 05:12:26 +0000 |
---|---|---|
committer | William Ahern <william+alpine@25thandClement.com> | 2016-06-25 05:12:26 +0000 |
commit | eceb64a5ee4980a652cddf226f4e7a0d18080a3b (patch) | |
tree | 5176ee21eeed0d375ece4f60478c384d067d8a49 | |
parent | d99465ce769657b6946190377cc8a5223f5e8261 (diff) | |
download | luaossl-eceb64a5ee4980a652cddf226f4e7a0d18080a3b.tar.gz luaossl-eceb64a5ee4980a652cddf226f4e7a0d18080a3b.tar.bz2 luaossl-eceb64a5ee4980a652cddf226f4e7a0d18080a3b.zip |
temporarily address issue #54 by copying solution from lunix and autoguess project
-rw-r--r-- | src/openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openssl.c b/src/openssl.c index 9c40e57..22c6e85 100644 --- a/src/openssl.c +++ b/src/openssl.c | |||
@@ -7812,7 +7812,7 @@ static struct randL_state *randL_getstate(lua_State *L) { | |||
7812 | } /* randL_getstate() */ | 7812 | } /* randL_getstate() */ |
7813 | 7813 | ||
7814 | #ifndef HAVE_SYS_SYSCTL_H | 7814 | #ifndef HAVE_SYS_SYSCTL_H |
7815 | #define HAVE_SYS_SYSCTL_H (!defined __sun && !defined _AIX) | 7815 | #define HAVE_SYS_SYSCTL_H (BSD || __GLIBC__) |
7816 | #endif | 7816 | #endif |
7817 | 7817 | ||
7818 | #if HAVE_SYS_SYSCTL_H | 7818 | #if HAVE_SYS_SYSCTL_H |
@@ -7820,7 +7820,7 @@ static struct randL_state *randL_getstate(lua_State *L) { | |||
7820 | #endif | 7820 | #endif |
7821 | 7821 | ||
7822 | #ifndef HAVE_RANDOM_UUID | 7822 | #ifndef HAVE_RANDOM_UUID |
7823 | #define HAVE_RANDOM_UUID (defined __linux) /* RANDOM_UUID is an enum, not macro */ | 7823 | #define HAVE_RANDOM_UUID (HAVE_SYS_SYSCTL_H && defined __linux) /* RANDOM_UUID is an enum, not macro */ |
7824 | #endif | 7824 | #endif |
7825 | 7825 | ||
7826 | #ifndef HAVE_KERN_URND | 7826 | #ifndef HAVE_KERN_URND |