diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-10-22 16:59:42 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-11-10 12:36:50 +0100 |
| commit | 8d4e934b08b10823f33ff74c477fec454913e952 (patch) | |
| tree | f5f3164cbececff67b90c6ba58adddd50bb52c96 /lib/typesafe.c | |
| parent | ef990bd94bc5e5b37214d1188915f585de1dc12a (diff) | |
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/typesafe.c')
| -rw-r--r-- | lib/typesafe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/typesafe.c b/lib/typesafe.c index f90b59daf0..3b65a2d02a 100644 --- a/lib/typesafe.c +++ b/lib/typesafe.c @@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> +#include <assert.h> #include "typesafe.h" #include "memory.h" |
