Author: akhaldi
Date: Sun Jun  7 19:27:33 2015
New Revision: 68064

URL: http://svn.reactos.org/svn/reactos?rev=68064&view=rev
Log:
[XDK][PSDK][DDK] Fix packing of TOKEN_STATISTICS. Fixes GCC build.

Modified:
    trunk/reactos/include/ddk/ntifs.h
    trunk/reactos/include/psdk/winnt.h
    trunk/reactos/include/xdk/setypes.h

Modified: trunk/reactos/include/ddk/ntifs.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=68064&r1=68063&r2=68064&view=diff
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h   [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntifs.h   [iso-8859-1] Sun Jun  7 19:27:33 2015
@@ -651,6 +651,7 @@
   LUID SourceIdentifier;
 } TOKEN_SOURCE, *PTOKEN_SOURCE;
 
+#include <pshpack4.h>
 typedef struct _TOKEN_STATISTICS {
   LUID TokenId;
   LUID AuthenticationId;
@@ -663,6 +664,7 @@
   ULONG PrivilegeCount;
   LUID ModifiedId;
 } TOKEN_STATISTICS, *PTOKEN_STATISTICS;
+#include <poppack.h>
 
 typedef struct _TOKEN_CONTROL {
   LUID TokenId;

Modified: trunk/reactos/include/psdk/winnt.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=68064&r1=68063&r2=68064&view=diff
==============================================================================
--- trunk/reactos/include/psdk/winnt.h  [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h  [iso-8859-1] Sun Jun  7 19:27:33 2015
@@ -4773,6 +4773,7 @@
   LUID SourceIdentifier;
 } TOKEN_SOURCE, *PTOKEN_SOURCE;
 
+#include <pshpack4.h>
 typedef struct _TOKEN_STATISTICS {
   LUID TokenId;
   LUID AuthenticationId;
@@ -4785,6 +4786,7 @@
   DWORD PrivilegeCount;
   LUID ModifiedId;
 } TOKEN_STATISTICS, *PTOKEN_STATISTICS;
+#include <poppack.h>
 
 typedef struct _TOKEN_CONTROL {
   LUID TokenId;

Modified: trunk/reactos/include/xdk/setypes.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/setypes.h?rev=68064&r1=68063&r2=68064&view=diff
==============================================================================
--- trunk/reactos/include/xdk/setypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/setypes.h [iso-8859-1] Sun Jun  7 19:27:33 2015
@@ -990,6 +990,7 @@
   LUID SourceIdentifier;
 } TOKEN_SOURCE, *PTOKEN_SOURCE;
 
+#include <pshpack4.h>
 typedef struct _TOKEN_STATISTICS {
   LUID TokenId;
   LUID AuthenticationId;
@@ -1002,6 +1003,7 @@
   $ULONG PrivilegeCount;
   LUID ModifiedId;
 } TOKEN_STATISTICS, *PTOKEN_STATISTICS;
+#include <poppack.h>
 
 typedef struct _TOKEN_CONTROL {
   LUID TokenId;


Reply via email to