Commit d4f13000114 for php.net

commit d4f13000114dc838f466fa5bd2659554f980dd6a
Author: Linus Groh <mail@linusgroh.de>
Date:   Sun Dec 7 21:48:43 2025 +0000

    opcache: Remove unused sys/ipc.h include from ZendAccelerator.c (#20662)

    As far as I can tell that's been there since the initial open source
    release (commit 528006a). The header defines ftok() and a handful of
    IPC_* constants, none of which are used here.

    System V IPC is increasingly being replaced by POSIX IPC and may
    therefore not be implemented on new and/or hobbyist operating systems
    such as SerenityOS[1]. In the past that wasn't an issue as the OPCache
    could be disabled, which is no longer possible as of PHP 8.5[2].

    I was able to build with the include patched out, but we would prefer
    this to be addressed upstream.

    1: https://github.com/SerenityOS/serenity/pull/26465
    2: https://github.com/php/php-src/pull/18961

diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index e6a2b90e8ff..d1d49ca391a 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -89,7 +89,6 @@ typedef int gid_t;
 #ifndef ZEND_WIN32
 # include <sys/types.h>
 # include <sys/wait.h>
-# include <sys/ipc.h>
 # include <pwd.h>
 # include <grp.h>
 #endif