https://git.reactos.org/?p=reactos.git;a=commitdiff;h=370ffd112363898c9d071…
commit 370ffd112363898c9d071797099517350999e910
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Jul 22 13:02:20 2018 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Jul 25 20:22:36 2018 +0200
[XDK][NDK] Restore struct alignment for IO_STACK_LOCATION
CORE-14782
---
sdk/include/xdk/iotypes.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sdk/include/xdk/iotypes.h b/sdk/include/xdk/iotypes.h
index d2a76b8451..8abcd02236 100644
--- a/sdk/include/xdk/iotypes.h
+++ b/sdk/include/xdk/iotypes.h
@@ -2746,6 +2746,10 @@ typedef struct _ACPI_INTERFACE_STANDARD2 {
PUNREGISTER_FOR_DEVICE_NOTIFICATIONS2 UnregisterForDeviceNotifications;
} ACPI_INTERFACE_STANDARD2, *PACPI_INTERFACE_STANDARD2;
+#if !defined(_AMD64_) && !defined(_ARM_)
+#include <pshpack4.h>
+#endif
+
typedef struct _IO_STACK_LOCATION {
UCHAR MajorFunction;
UCHAR MinorFunction;
@@ -2954,6 +2958,11 @@ typedef struct _IO_STACK_LOCATION {
PVOID Context;
} IO_STACK_LOCATION, *PIO_STACK_LOCATION;
+#if !defined(_AMD64_) && !defined(_ARM_)
+#include "poppack.h"
+#endif
+
+
/* IO_STACK_LOCATION.Control */
#define SL_PENDING_RETURNED 0x01