From f9c2bc7b80a48b333d1ce7126514fdc007d05d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Mon, 22 May 2023 16:08:16 +0200 Subject: [PATCH] Fix missing includes for tests compilation in recent GCC version --- test/tap/tap/command_line.h | 1 + test/tap/tests/setparser_test.cpp | 1 + test/tap/tests/sqlite3-t.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/test/tap/tap/command_line.h b/test/tap/tap/command_line.h index 43a6be984..4847b460d 100644 --- a/test/tap/tap/command_line.h +++ b/test/tap/tap/command_line.h @@ -1,6 +1,7 @@ #ifndef COMMAND_LINE_H #define COMMAND_LINE_H +#include #include #include diff --git a/test/tap/tests/setparser_test.cpp b/test/tap/tests/setparser_test.cpp index 0d2325c93..b2be4cc6f 100644 --- a/test/tap/tests/setparser_test.cpp +++ b/test/tap/tests/setparser_test.cpp @@ -34,6 +34,7 @@ * For now we just declare it locally to avoid the linking error. */ #include "openssl/ssl.h" +#include "mysql.h" #include "proxysql_structs.h" #include "sqlite3db.h" #include "MySQL_LDAP_Authentication.hpp" diff --git a/test/tap/tests/sqlite3-t.cpp b/test/tap/tests/sqlite3-t.cpp index a15a9e857..e41f0068e 100644 --- a/test/tap/tests/sqlite3-t.cpp +++ b/test/tap/tests/sqlite3-t.cpp @@ -7,6 +7,7 @@ #include #include +#include "mysql.h" #include "proxysql_structs.h" #include "sqlite3db.h" #include "MySQL_LDAP_Authentication.hpp"