From 5daf64f63bffcda54b36eb99288515189f8e4f0b Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 31 May 2024 11:30:52 +0200 Subject: [PATCH] lib: make python/ts_expand.py actually work lib/typesafe.h was supposed to be outside the _TYPESAFE_EXPAND_MACROS guard, so that including lib/atomlist.h grabs all the typesafe container macros. (No effect on normal build, as _TYPESAFE_EXPAND_MACROS is never defined there.) Signed-off-by: David Lamparter --- lib/atomlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/atomlist.h b/lib/atomlist.h index faf1d7324e..3eb498a23a 100644 --- a/lib/atomlist.h +++ b/lib/atomlist.h @@ -6,8 +6,8 @@ #ifndef _FRR_ATOMLIST_H #define _FRR_ATOMLIST_H -#ifndef _TYPESAFE_EXPAND_MACROS #include "typesafe.h" +#ifndef _TYPESAFE_EXPAND_MACROS #include "frratomic.h" #endif /* _TYPESAFE_EXPAND_MACROS */ -- 2.39.5