Remove redundant includes from mbstring (and make sure correct config.h is used)

Very interesting... it turns out that when Valgrind support was enabled,
`#include "config.h"` from within mbstring was actually including the file "config.h"
from Valgrind, and not the one from mbstring!!

This is because -I/usr/include/valgrind was added to the compiler invocation _before_
-Iext/mbstring/libmbfl.

Make sure we actually include the file which was intended.
This commit is contained in:
Alex Dowad 2020-07-04 23:52:32 +02:00
parent b7808d02e8
commit 62317d592f
93 changed files with 7 additions and 402 deletions

View file

@ -14,9 +14,7 @@
+----------------------------------------------------------------------+
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "libmbfl/config.h"
#include "php.h"
#include "php_ini.h"