basic/list: add missing header
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Nov 2018 19:25:00 +0000 (04:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Nov 2018 19:25:10 +0000 (04:25 +0900)
Some macros use assert() which is (re)defined in macro.h

src/basic/list.h

index 040680c..b6132c2 100644 (file)
@@ -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)                                               \