aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ossl/musl-fixes.patch
blob: 5f297e4b0aa8164322eca2f3ea0b6ad6cd1f265a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -6980,7 +6980,7 @@
 } /* randL_getstate() */
 
 #ifndef HAVE_SYS_SYSCTL_H
-#define HAVE_SYS_SYSCTL_H (!defined __sun && !defined _AIX)
+#define HAVE_SYS_SYSCTL_H (defined __GLIBC__)
 #endif
 
 #if HAVE_SYS_SYSCTL_H
@@ -6988,7 +6988,7 @@
 #endif
 
 #ifndef HAVE_RANDOM_UUID
-#define HAVE_RANDOM_UUID (defined __linux) /* RANDOM_UUID is an enum, not macro */
+#define HAVE_RANDOM_UUID (defined __GLIBC__) /* RANDOM_UUID is an enum, not macro */
 #endif
 
 #ifndef HAVE_KERN_URND