Browse Source

[master] Include <mysql.h> rather than <mysql/mysql.h>

This prevents compilation failure on OS-X. Reviewed and approved
on jabber.
Marcin Siodelski 9 years ago
parent
commit
00186aa513

+ 1 - 1
src/lib/dhcpsrv/mysql_connection.h

@@ -17,7 +17,7 @@
 
 #include <dhcpsrv/database_connection.h>
 #include <boost/scoped_ptr.hpp>
-#include <mysql/mysql.h>
+#include <mysql.h>
 #include <vector>
 
 namespace isc {

+ 1 - 1
src/lib/dhcpsrv/mysql_host_data_source.h

@@ -21,7 +21,7 @@
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/utility.hpp>
-#include <mysql/mysql.h>
+#include <mysql.h>
 
 namespace isc {
 namespace dhcp {

+ 1 - 1
src/lib/dhcpsrv/mysql_lease_mgr.h

@@ -21,7 +21,7 @@
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/utility.hpp>
-#include <mysql/mysql.h>
+#include <mysql.h>
 
 #include <time.h>