mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
mysql.h location can be both <mysql/mysql.h> and <mysql.h>
This commit is contained in:
parent
08a95ea313
commit
0af3dcd4f4
1 changed files with 6 additions and 1 deletions
|
@ -22,8 +22,13 @@ void service_mysql(char *ip, int sp, unsigned char options, char *miscptr, FILE
|
|||
|
||||
#ifndef LIBMYSQLCLIENT
|
||||
#else
|
||||
|
||||
#if defined(HAVE_MYSQL_MYSQL_H)
|
||||
#include <mysql/mysql.h>
|
||||
#elif defined(HAVE_MYSQL_H)
|
||||
#include <mysql.h>
|
||||
#else
|
||||
#error libmysqlclient found, but no usable headers available
|
||||
#endif
|
||||
MYSQL *mysql = NULL;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue