From f66151cc65cb9479396b0ecf5d9fe47a25515683 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Tue, 26 Jul 2022 17:38:43 +0100 Subject: [PATCH] GH-9157: opcache fix build on older macOs releases. --- configure.ac | 1 + ext/opcache/jit/zend_jit_perf_dump.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bc65c2273c085..44f6da3f7d1d5 100644 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,7 @@ langinfo.h \ linux/filter.h \ linux/sock_diag.h \ malloc.h \ +os/signpost.h \ poll.h \ pty.h \ pwd.h \ diff --git a/ext/opcache/jit/zend_jit_perf_dump.c b/ext/opcache/jit/zend_jit_perf_dump.c index b26797f84c145..beebf9369c30e 100644 --- a/ext/opcache/jit/zend_jit_perf_dump.c +++ b/ext/opcache/jit/zend_jit_perf_dump.c @@ -26,7 +26,7 @@ #include #include -#if !defined(__APPLE__) +#if !defined(HAVE_OS_SIGNPOST_H) #if defined(__linux__) #include #elif defined(__darwin__)