diff options
Diffstat (limited to 'libmysqlpp/my-error.h')
-rw-r--r-- | libmysqlpp/my-error.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmysqlpp/my-error.h b/libmysqlpp/my-error.h index 2dfc99b..b0338dd 100644 --- a/libmysqlpp/my-error.h +++ b/libmysqlpp/my-error.h @@ -1,12 +1,14 @@ #ifndef MY_ERROR_H #define MY_ERROR_H -#include <error.h> +#include "error.h" // IWYU pragma: export #include <exception.h> +#include <string> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" #include <mysql.h> #pragma GCC diagnostic pop +// IWYU pragma: no_forward_declare DB::Error namespace MySQL { class Error : public AdHoc::Exception<DB::Error> { |