Hello.
Unfortunately package percona-server-devel.x86_64 (checked versions from 8.0.13-4.1.el7 to 8.0.19-10.1.el7 ) does not provide required headers files.
One of missed files is "my_config_x86_64.h", it's included in /usr/include/mysql/my_config.h
Without this file is impossible to build program, which depends on mysql.