diff options
-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 |