Fix header errors when parsed standalone (#14272)

This is annoying for multiple reasons:

1. LSPs can show many errors for these files.
2. LSP can stop parsing these files completely if there are too many errors,
   resulting in spotty LSP features.
This commit is contained in:
Ilija Tovilo 2024-05-20 22:30:38 +02:00 committed by GitHub
parent 78f72cffa4
commit 6335264c07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 68 additions and 3 deletions

View file

@ -23,6 +23,7 @@
#include <stdio.h>
#include "zend_types.h"
#include "../TSRM/TSRM.h"
#ifndef ZEND_MM_ALIGNMENT