mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
ealanos: Fixed errors when compiling Hoitaja.
This commit is contained in:
@@ -14,7 +14,21 @@
|
||||
#ifndef _LIB__SANDBOX__UTILS_H_
|
||||
#define _LIB__SANDBOX__UTILS_H_
|
||||
|
||||
namespace Sandbox {
|
||||
#include <base/stdint.h>
|
||||
#include <base/log.h>
|
||||
#include <util/string.h>
|
||||
#include <base/registry.h>
|
||||
#include <base/affinity.h>
|
||||
#include <util/xml_node.h>
|
||||
#include <base/session_label.h>
|
||||
#include <base/service.h>
|
||||
#include <base/child.h>
|
||||
#include <os/session_policy.h>
|
||||
#include "types.h"
|
||||
|
||||
namespace Sandbox
|
||||
{
|
||||
using namespace Genode;
|
||||
|
||||
static inline void warn_insuff_quota(size_t const avail)
|
||||
{
|
||||
@@ -232,6 +246,11 @@ namespace Sandbox {
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
inline bool is_brick_from_xml(Xml_node start_node)
|
||||
{
|
||||
return start_node.attribute_value("brick", false);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* _LIB__SANDBOX__UTILS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user