You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
From https://github.com/bareos/bareos/pull/1687/commits/3907be7ff9700d0328198b47c58885f5ec56546c
|
|
https://bugs.gentoo.org/920489
|
|
|
|
diff --git a/core/src/cats/sql_get.cc b/core/src/cats/sql_get.cc
|
|
index b5d921c..150ebfc 100644
|
|
--- a/core/src/cats/sql_get.cc
|
|
+++ b/core/src/cats/sql_get.cc
|
|
@@ -31,6 +31,7 @@
|
|
*/
|
|
|
|
#include "include/bareos.h"
|
|
+#include <algorithm>
|
|
|
|
#if HAVE_SQLITE3 || HAVE_MYSQL || HAVE_POSTGRESQL || HAVE_INGRES || HAVE_DBI
|
|
|
|
diff --git a/core/src/stored/append.cc b/core/src/stored/append.cc
|
|
index 05f6784..32234d4 100644
|
|
--- a/core/src/stored/append.cc
|
|
+++ b/core/src/stored/append.cc
|
|
@@ -41,6 +41,8 @@
|
|
#include "lib/berrno.h"
|
|
#include "lib/berrno.h"
|
|
|
|
+#include <algorithm>
|
|
+
|
|
namespace storagedaemon {
|
|
|
|
/* Responses sent to the daemon */
|
|
diff --git a/core/src/dird/ua_prune.cc b/core/src/dird/ua_prune.cc
|
|
index 9a0770c..15a0a56 100644
|
|
--- a/core/src/dird/ua_prune.cc
|
|
+++ b/core/src/dird/ua_prune.cc
|
|
@@ -40,6 +40,8 @@
|
|
#include "lib/edit.h"
|
|
#include "lib/parse_conf.h"
|
|
|
|
+#include <algorithm>
|
|
+
|
|
namespace directordaemon {
|
|
|
|
/* Forward referenced functions */
|