From c5c8016740d06f51ce3984eeabfd8d2e0cac70d4 Mon Sep 17 00:00:00 2001
From: Utz-Uwe Haus <uhaus@cray.com>
Date: Mon, 3 Jan 2022 10:51:03 +0100
Subject: [PATCH] ensure attributes.h does not refer to uninstalled mamba
 headers

---
 attributes/Makefile.am       | 3 ++-
 include/maestro/attributes.h | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/attributes/Makefile.am b/attributes/Makefile.am
index c5b08a0b..73bc1424 100644
--- a/attributes/Makefile.am
+++ b/attributes/Makefile.am
@@ -40,7 +40,8 @@ BUILT_SOURCES = maestro-core-yaml.h ecmwf-yaml.h
 libattributes_la_CPPFLAGS = \
 		-I$(top_srcdir) \
 		-I$(top_srcdir)/protocols \
-		-I$(top_srcdir)/deps/mamba \
+		-I$(top_srcdir)/deps/mamba/common \
+		-I$(top_srcdir)/deps/mamba/memory \
                 -I$(top_srcdir)/include \
 		-I$(top_srcdir)/deps/libyaml/include \
 		-I$(top_srcdir)/deps/libcyaml/include 
diff --git a/include/maestro/attributes.h b/include/maestro/attributes.h
index 3c4f4d1b..c1d5cdff 100644
--- a/include/maestro/attributes.h
+++ b/include/maestro/attributes.h
@@ -45,7 +45,7 @@ extern "C" {
 #include <stdbool.h>
 
 #include "maestro/status.h"
-#include "deps/mamba/common/mmb_layout.h"
+#include "mamba.h"
 
 /**@addtogroup MSTRO_Core
  **@{
-- 
GitLab