xref: /aosp_15_r20/external/skia/third_party/expat/0001-Do-not-claim-getrandom.patch (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1diff --git a/third_party/expat/include/expat_config/expat_config.h b/third_party/expat/include/expat_config/expat_config.h
2index 278d7a8..c693a14a 100644
3--- a/third_party/expat/include/expat_config/expat_config.h
4+++ b/third_party/expat/include/expat_config/expat_config.h
5@@ -23,7 +23,7 @@
6 #define HAVE_GETPAGESIZE 1
7
8 /* Define to 1 if you have the `getrandom' function. */
9-#define HAVE_GETRANDOM 1
10+/* #define HAVE_GETRANDOM 1 */
11
12 /* Define to 1 if you have the <inttypes.h> header file. */
13 #define HAVE_INTTYPES_H 1
14@@ -50,7 +50,7 @@
15 #define HAVE_STRING_H 1
16
17 /* Define to 1 if you have `syscall' and `SYS_getrandom'. */
18-#define HAVE_SYSCALL_GETRANDOM 1
19+/* #define HAVE_SYSCALL_GETRANDOM 1 */
20
21 /* Define to 1 if you have the <sys/param.h> header file. */
22 #define HAVE_SYS_PARAM_H 1
23