Included the my_config.h header before any system headers if mysql headers were used.