| 1 |
Description: Correct snmptrapd MariaDB includes |
| 2 |
Do not include my_sys.h |
| 3 |
Author: Craig Small <[email protected]> |
| 4 |
Reviewed-by: Craig Small <[email protected] |
| 5 |
Last-Update: 2023-08-19 |
| 6 |
--- |
| 7 |
--- a/apps/snmptrapd_sql.c |
| 8 |
+++ b/apps/snmptrapd_sql.c |
| 9 |
@@ -23,14 +23,6 @@ |
| 10 |
#undef PACKAGE_STRING |
| 11 |
#undef PACKAGE_TARNAME |
| 12 |
#undef PACKAGE_VERSION |
| 13 |
-#if !defined(HAVE_MYSQL_INIT) |
| 14 |
-#ifdef HAVE_MY_GLOBAL_H |
| 15 |
-#include <my_global.h> |
| 16 |
-#endif |
| 17 |
-#ifdef HAVE_MY_SYS_H |
| 18 |
-#include <my_sys.h> |
| 19 |
-#endif |
| 20 |
-#endif |
| 21 |
#include <mysql.h> |
| 22 |
#include <errmsg.h> |
| 23 |
|