diff --git a/PowerShell.Common.props b/PowerShell.Common.props
index 5e7e41f1470..476dd023b1f 100644
--- a/PowerShell.Common.props
+++ b/PowerShell.Common.props
@@ -182,14 +182,6 @@
full
-
-
-
- false
-
-
strict
diff --git a/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs b/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs
index 1986c4c63be..ef8b88eed42 100644
--- a/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs
+++ b/src/System.Management.Automation/CoreCLR/CorePsPlatform.cs
@@ -935,8 +935,10 @@ internal static class NativeMethods
[DllImport(psLib)]
internal static extern int WaitPid(int pid, bool nohang);
- // This is a struct tm from .
- [StructLayout(LayoutKind.Sequential)]
+ // This is the struct `private_tm` from setdate.h in libpsl-native.
+ // Packing is set to 4 to match the unmanaged declaration.
+ // https://github.com/PowerShell/PowerShell-Native/blob/c5575ceb064e60355b9fee33eabae6c6d2708d14/src/libpsl-native/src/setdate.h#L23
+ [StructLayout(LayoutKind.Sequential, Pack = 4)]
internal unsafe struct UnixTm
{
/// Seconds (0-60).