[php-src] master: Fix memfd_create header inclusion

Levi Morrison <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Levi Morrison (morrisonlevi)
Date: 2026-08-19T08:08:57-06:00

Commit: https://github.com/php/php-src/commit/b02e38a4a8b0f7079ecc5fa09b615b2911176e37
Raw diff: https://github.com/php/php-src/commit/b02e38a4a8b0f7079ecc5fa09b615b2911176e37.diff

Fix memfd_create header inclusion

Changed paths:
  M  ext/opcache/zend_shared_alloc.c


Diff:

diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c
index 7589cccbe55f..c7ad96a2dfb2 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -19,6 +19,10 @@
    +----------------------------------------------------------------------+
 */
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #if defined(__linux__) && defined(HAVE_MEMFD_CREATE)
 # ifndef _GNU_SOURCE
 #  define _GNU_SOURCE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.