From 434af1cd9392bb2e205d7f0e7d576ce41e1251c7 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Tue, 22 Jul 2025 19:59:45 +0800 Subject: [PATCH] Commonly include first --- src/chsrc-main.c | 4 ++++ src/recipe/os/openSUSE.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/chsrc-main.c b/src/chsrc-main.c index 17b034f..e4b90d5 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -43,6 +43,8 @@ #include "framework/core.c" + + #include "recipe/lang/rawstr4c.h" #include "recipe/lang/Ruby/Ruby.c" @@ -86,6 +88,8 @@ +#include "recipe/os/rawstr4c.h" + #include "recipe/os/APT/common.h" // Debian-based #include "recipe/os/APT/Debian.c" diff --git a/src/recipe/os/openSUSE.c b/src/recipe/os/openSUSE.c index bffdf00..0461fd4 100644 --- a/src/recipe/os/openSUSE.c +++ b/src/recipe/os/openSUSE.c @@ -8,8 +8,6 @@ * Last Modified : <2025-07-22> * ------------------------------------------------------------*/ -#include "rawstr4c.h" - /** * @update 2025-06-20 */