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.
This commit is contained in:
Lennart Poettering
2018-10-18 16:44:51 +02:00
parent d520d519f0
commit 7e61bd0f67
+1
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include <sys/param.h>