diff options
Diffstat (limited to 'rtemsspec/content.py')
-rw-r--r-- | rtemsspec/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsspec/content.py b/rtemsspec/content.py index cfef89c6..3a25b7ec 100644 --- a/rtemsspec/content.py +++ b/rtemsspec/content.py @@ -477,7 +477,7 @@ def _split_includes( includes: List[CInclude]) -> Tuple[Set[str], Dict[str, Set[str]]]: includes_unconditional = set() # type: Set[str] includes_enabled_by = {} # type: Dict[str, Set[str]] - for inc in set(includes): + for inc in list(dict.fromkeys(includes)): if inc.enabled_by and inc.enabled_by != "1": try: includes_unconditional.remove(inc.path) |