mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 19:18:08 -07:00
Closes: https://github.com/gentoo/gentoo/pull/29319 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
15 lines
271 B
Diff
15 lines
271 B
Diff
Mitigate compilation issue.
|
|
|
|
std::bad_alloc is defined in <new>
|
|
--- a/clients/include/host_alloc.hpp
|
|
+++ b/clients/include/host_alloc.hpp
|
|
@@ -22,6 +22,8 @@
|
|
|
|
#pragma once
|
|
|
|
+#include <new>
|
|
+
|
|
//!
|
|
//! @brief Host free memory w/o swap. Returns kB or -1 if unknown.
|
|
//!
|