From 8e86256285e05c497df6a5628fb60330a61138df Mon Sep 17 00:00:00 2001
From: Utz-Uwe Haus <uhaus@cray.com>
Date: Thu, 5 Aug 2021 15:26:20 +0200
Subject: [PATCH] Fix distcheck issues

Closes jsc/#59
---
 maestro/drc.c     | 2 +-
 tests/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/maestro/drc.c b/maestro/drc.c
index b5731750..68993326 100644
--- a/maestro/drc.c
+++ b/maestro/drc.c
@@ -233,7 +233,7 @@ mstro_drc_insert_ofi(struct fi_info *fi, const mstro_drc_info info)
   
 #if FI_VERSION_GE(FI_VERSION(FI_MAJOR_VERSION,FI_MINOR_VERSION), FI_VERSION(1,5))
   // auth key is free()ed by fabric.c on teardown, so we need to duplicate it
-  fi->domain_attr->auth_key = dup_authkey(&info->auth_key);
+  fi->domain_attr->auth_key = (uint8_t*) dup_authkey(&info->auth_key);
   if(fi->domain_attr->auth_key==NULL) {
     return MSTRO_NOMEM;
   }
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 56ee19ef..25093e9c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -50,7 +50,7 @@ AM_CPPFLAGS = $(TEST_INCLUDES) -DTOPSRCDIR=$(top_srcdir)
 
 LDADD = $(top_builddir)/libmaestro.la
 
-check_HEADERS = cheat.h
+check_HEADERS = cheat.h ecmwf_config.h
 
 TESTS = check_version check_init check_uuid \
 	coverage check_memlock \
-- 
GitLab