git: 3f2c1eb5b843 - main - stand/efi: Better include order for sharing

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 04 Dec 2022 04:39:25 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3f2c1eb5b84317bae98420c1346304b604436727

commit 3f2c1eb5b84317bae98420c1346304b604436727
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-04 00:23:22 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-12-04 00:23:22 +0000

    stand/efi: Better include order for sharing
    
    Have a better include order so this can more easily be shared between
    EFI and kboot. Fewer ifdefs and the same (enough) include order as
    before.
    
    Sponsored by:           Netflix
---
 stand/efi/loader/bootinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c
index 6e109fdba98f..4d4e50718f3a 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -45,12 +45,12 @@ __FBSDID("$FreeBSD$");
 
 #include "bootstrap.h"
 #include "modinfo.h"
-#include "loader_efi.h"
 
 #if defined(__amd64__)
 #include <machine/specialreg.h>
 #endif
 
+#include "loader_efi.h"
 #include "gfx_fb.h"
 
 #if defined(LOADER_FDT_SUPPORT)