summaryrefslogtreecommitdiffstats
path: root/src/basic/list.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-23 20:25:00 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-23 20:25:10 +0100
commit1492fa526e1d62bd2f148b3ad337c5bb1f4bd86d (patch)
treeecc1f8e6bf7da10678b14fb566b1a17a1caeb866 /src/basic/list.h
parentFix typo in hacking guide: "no possible" -> "not possible" (#10905) (diff)
downloadsystemd-1492fa526e1d62bd2f148b3ad337c5bb1f4bd86d.tar.xz
systemd-1492fa526e1d62bd2f148b3ad337c5bb1f4bd86d.zip
basic/list: add missing header
Some macros use assert() which is (re)defined in macro.h
Diffstat (limited to 'src/basic/list.h')
-rw-r--r--src/basic/list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/list.h b/src/basic/list.h
index 040680c30a..b6132c21df 100644
--- a/src/basic/list.h
+++ b/src/basic/list.h
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
+#include "macro.h"
+
/* The head of the linked list. Use this in the structure that shall
* contain the head of the linked list */
#define LIST_HEAD(t,name) \