File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ PHP NEWS
1313 . Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).
1414 (ilutov)
1515 . Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
16+ . Fixed build for FreeBSD before the 11.0 releases. (David Carlier)
1617
1718- Curl:
1819 . Fix crash when an invalid callback function is passed to
Original file line number Diff line number Diff line change 2525#include <fcntl.h>
2626#include <unistd.h>
2727
28- #if defined(__FreeBSD__ )
28+ #if defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
2929# include <sys/user.h>
3030# include <libutil.h>
3131#endif
@@ -142,7 +142,7 @@ ZEND_API bool zend_gdb_present(void)
142142
143143 close (fd );
144144 }
145- #elif defined(__FreeBSD__ )
145+ #elif defined(__FreeBSD__ ) && __FreeBSD_version >= 1100000
146146 struct kinfo_proc * proc = kinfo_getproc (getpid ());
147147
148148 if (proc ) {
You can’t perform that action at this time.
0 commit comments