From 7e61bd0f678dacdd470cc72b202d411cca3f20d9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Oct 2018 16:51:31 +0200 Subject: [PATCH] macro.h: include assert.h so that static_assert can be properly checked for For the definition of assert_cc() we try to use static_assert and check for it with "#ifdef". But that can only work if assert.h is imported before. Hence let's do so. --- src/basic/macro.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/macro.h b/src/basic/macro.h index 63a8be440f2..14d49c1a1bf 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once +#include #include #include #include