summaryrefslogtreecommitdiffstats
path: root/lib/atomlist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-10-22 16:59:42 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-11-10 12:36:50 +0100
commit8d4e934b08b10823f33ff74c477fec454913e952 (patch)
treef5f3164cbececff67b90c6ba58adddd50bb52c96 /lib/atomlist.c
parentlib: add `debug uid XXXXX-XXXXX backtrace` (diff)
downloadfrr-8d4e934b08b10823f33ff74c477fec454913e952.tar.xz
frr-8d4e934b08b10823f33ff74c477fec454913e952.zip
lib: avoid include loop with assert.h
`assert.h` -> `xref.h` -> `typesafe.h` -> `assert.h` Might be possible to do this more cleanly some way, but that way is not obvious, so here's the "simple & dumb" approach. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/atomlist.c')
-rw-r--r--lib/atomlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/atomlist.c b/lib/atomlist.c
index 3668b083d..b7c9516a0 100644
--- a/lib/atomlist.c
+++ b/lib/atomlist.c
@@ -18,6 +18,8 @@
#include "config.h"
#endif
+#include <assert.h>
+
#include "atomlist.h"
void atomlist_add_head(struct atomlist_head *h, struct atomlist_item *item)