1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00

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-12 16:51:31 +02:00
parent d520d519f0
commit 7e61bd0f67

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>