diff --git a/addons/res_config_mysql.c b/addons/res_config_mysql.c
index 43ca5fcf7a38d93946e4441661bbfaf3e9b8db0c..ae4348500eb19551d7a5fc616056c7cd125afd98 100644
--- a/addons/res_config_mysql.c
+++ b/addons/res_config_mysql.c
@@ -33,7 +33,6 @@
 #include <sys/stat.h>
 
 #include <mysql/mysql.h>
-#include <mysql/mysql_version.h>
 #include <mysql/errmsg.h>
 
 #include "asterisk/channel.h"