Massively cleaned up #include's, so they're in a consistent
[freeradius.git] / src / modules / rlm_sql / drivers / rlm_sql_mysql / sql_mysql.c
index fa32728..8da0503 100644 (file)
 #include <freeradius-devel/ident.h>
 RCSID("$Id$")
 
-#include <freeradius-devel/autoconf.h>
+#include <freeradius-devel/radiusd.h>
 
-#include <stdio.h>
 #include <sys/stat.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <freeradius-devel/radiusd.h>
 
 #include "config.h"
 
 #ifdef HAVE_MYSQL_MYSQL_H
+#include <mysql/mysql_version.h>
 #include <mysql/errmsg.h>
 #include <mysql/mysql.h>
 #else
 #ifdef HAVE_MYSQL_H
+#include <mysql_version.h>
 #include <errmsg.h>
 #include <mysql.h>
 #endif