https://git.reactos.org/?p=reactos.git;a=commitdiff;h=63f042a5cd883ed795313be75406c4523654fce2

commit 63f042a5cd883ed795313be75406c4523654fce2
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Wed Jun 8 07:55:27 2022 +0200
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Wed Jun 8 07:58:27 2022 +0200

    [SDK:REACTOS] Fix packing of GEN_ADDR structure, used in some ACPI tables
---
 sdk/include/reactos/drivers/acpi/acpi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/include/reactos/drivers/acpi/acpi.h 
b/sdk/include/reactos/drivers/acpi/acpi.h
index e4231fefe32..fc4acff699b 100644
--- a/sdk/include/reactos/drivers/acpi/acpi.h
+++ b/sdk/include/reactos/drivers/acpi/acpi.h
@@ -64,6 +64,7 @@ typedef enum _BGRT_IMAGE_TYPE
 //
 // ACPI Generic Register Address
 //
+#include <pshpack1.h>
 typedef struct _GEN_ADDR
 {
     UCHAR AddressSpaceID;
@@ -76,7 +77,6 @@ typedef struct _GEN_ADDR
 //
 // ACPI BIOS Structures (packed)
 //
-#include <pshpack1.h>
 typedef struct  _RSDP
 {
     ULONGLONG Signature;

Reply via email to