winnt.h: Add defines for SLIST_HEADER.
diff --git a/include/winnt.h b/include/winnt.h
index 47653eb..58c76e2 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -593,6 +593,35 @@
struct _SINGLE_LIST_ENTRY *Next;
} SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY;
+#ifdef _WIN64
+
+typedef struct _SLIST_ENTRY *PSLIST_ENTRY;
+typedef struct _SLIST_ENTRY {
+ PSLIST_ENTRY Next;
+};
+
+typedef struct _SLIST_HEADER {
+ ULONGLONG Alignment;
+ ULONGLONG Region;
+} SLIST_HEADER, *PSLIST_HEADER;
+
+#else
+
+#define SLIST_ENTRY SINGLE_LIST_ENTRY
+#define _SLIST_ENTRY _SINGLE_LIST_ENTRY
+#define PSLIST_ENTRY PSINGLE_LIST_ENTRY
+
+typedef union _SLIST_HEADER {
+ ULONGLONG Alignment;
+ struct {
+ SLIST_ENTRY Next;
+ WORD Depth;
+ WORD Sequence;
+ };
+} SLIST_HEADER, *PSLIST_HEADER;
+
+#endif
+
/* Heap flags */
#define HEAP_NO_SERIALIZE 0x00000001