File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ PHP NEWS
13
13
. Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).
14
14
(ilutov)
15
15
. Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
16
+ . Fixed build for FreeBSD before the 11.0 releases. (David Carlier)
16
17
17
18
- Curl:
18
19
. Fix crash when an invalid callback function is passed to
Original file line number Diff line number Diff line change 25
25
#include <fcntl.h>
26
26
#include <unistd.h>
27
27
28
- #if defined(__FreeBSD__ )
28
+ #if defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
29
29
# include <sys/user.h>
30
30
# include <libutil.h>
31
31
#endif
@@ -142,7 +142,7 @@ ZEND_API bool zend_gdb_present(void)
142
142
143
143
close (fd );
144
144
}
145
- #elif defined(__FreeBSD__ )
145
+ #elif defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
146
146
struct kinfo_proc * proc = kinfo_getproc (getpid ());
147
147
148
148
if (proc ) {
You can’t perform that action at this time.
0 commit comments