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