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 @@ -15,6 +15,7 @@ PHP NEWS
15
15
. Fixed line number of JMP instruction over else block. (ilutov)
16
16
. Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
17
17
. Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions). (ilutov)
18
+ . Fixed build for FreeBSD before the 11.0 releases. (David Carlier)
18
19
19
20
- Curl:
20
21
. 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