Description:
The Maria code uses one of:
#include <foo.h>
#include "foo.h"
depending on the location of foo.h (in the local directory or not),
as an "optimization".
Therefore, the include path should *not* contain '-I.', since this breaks
the #include <foo.h> "optimization".
The maria makefiles do contain -I., which is then a bug.
How to repeat:
storage/maria> make ha_maria.o
ccache g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../regex -I../../sql -g -DSAFE_MUTEX -DSAFEMALLOC -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_maria.o -MD -MP -MF .deps/ha_maria.Tpo -c -o ha_maria.o ha_maria.cc