diff -uNr asterisk-addons-1.6.2.0.ORIG//cdr/cdr_addon_mysql.c asterisk-addons-1.6.2.0/cdr/cdr_addon_mysql.c --- asterisk-addons-1.6.2.0.ORIG//cdr/cdr_addon_mysql.c 2010-02-19 15:11:40.000000000 +0000 +++ asterisk-addons-1.6.2.0/cdr/cdr_addon_mysql.c 2010-02-19 15:12:01.000000000 +0000 @@ -29,6 +29,13 @@ #include +#include +#include + +#include +#include +#include + #include #include #include @@ -41,13 +48,6 @@ #include #include -#include -#include - -#include -#include -#include - #include #include diff -uNr asterisk-addons-1.6.2.0.ORIG//res/res_config_mysql.c asterisk-addons-1.6.2.0/res/res_config_mysql.c --- asterisk-addons-1.6.2.0.ORIG//res/res_config_mysql.c 2010-02-19 15:11:40.000000000 +0000 +++ asterisk-addons-1.6.2.0/res/res_config_mysql.c 2010-02-19 15:12:01.000000000 +0000 @@ -44,6 +44,9 @@ #include +#include +#include +#include #include #include #include @@ -53,10 +56,6 @@ #include #include #include -#include -#include -#include -#include #include #include #include