File: fix-build-with-recent-mariadb

package info (click to toggle)
pmacct 1.7.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,816 kB
  • sloc: ansic: 110,434; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 523
file content (15 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: pmacct/src/mysql_plugin.h
===================================================================
--- pmacct.orig/src/mysql_plugin.h
+++ pmacct/src/mysql_plugin.h
@@ -22,8 +22,10 @@
 /* includes */
 #if defined HAVE_MYSQL_H 
 #include <mysql.h>
+#include <mysql_version.h>
 #else
 #include <mysql/mysql.h>
+#include <mysql/mysql_version.h>
 #endif
 
 #include "plugin_common.h"