Skip to content

Commit 79ac6e0

Browse files
committed
Merge branch 'PHP-8.2'
2 parents 745db44 + f098193 commit 79ac6e0

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

ext/random/config.m4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ dnl
77
dnl Check for CCRandomGenerateBytes
88
dnl header absent in previous macOs releases
99
dnl
10-
AC_CHECK_HEADERS([CommonCrypto/CommonRandom.h])
10+
AC_CHECK_HEADERS([CommonCrypto/CommonRandom.h], [], [],
11+
[
12+
#include <sys/types.h>
13+
#include <Availability.h>
14+
#include <CommonCrypto/CommonCryptoError.h>
15+
])
1116

1217
dnl
1318
dnl Setup extension

ext/standard/config.m4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,12 @@ dnl
407407
dnl Check for CCRandomGenerateBytes
408408
dnl header absent in previous macOs releases
409409
dnl
410-
AC_CHECK_HEADERS([CommonCrypto/CommonRandom.h])
410+
AC_CHECK_HEADERS([CommonCrypto/CommonRandom.h], [], [],
411+
[
412+
#include <sys/types.h>
413+
#include <Availability.h>
414+
#include <CommonCrypto/CommonCryptoError.h>
415+
])
411416

412417
dnl
413418
dnl Check for argon2

0 commit comments

Comments
 (0)