root@serverman:~# cat test.c
#include <mysql/mysql.h>
int x;
root@serverman:~# gcc -o test test.c
In file included from /usr/include/mysql/mysql.h:64:0,
from test.c:1:
/usr/include/mysql/mysql/client_plugin.h:103:38: fatal error: mysql/plugin_auth_common.h: No such file or directory
compilation terminated.
root@serverman:~# ls /usr/include/mysql/
big_endian.h errmsg.h my_alloc.h my_dbug.h mysql mysql_embed.h my_thread.h plugin_group_replication.h sql_state.h thr_mutex.h
binary_log_types.h keycache.h my_byteorder.h my_dir.h mysql_com.h mysql.h my_thread_local.h plugin.h sslopt-case.h thr_rwlock.h
byte_order_generic.h little_endian.h my_command.h my_getopt.h mysql_com_server.h mysql_time.h my_xml.h plugin_keyring.h sslopt-longopts.h typelib.h
byte_order_generic_x86.h m_ctype.h my_compiler.h my_global.h mysqld_ername.h mysql_version.h plugin_audit.h plugin_validate_password.h sslopt-vars.h
decimal.h m_string.h my_config.h my_list.h mysqld_error.h my_sys.h plugin_ftparser.h sql_common.h thr_cond.h