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__)