summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ntdll.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r--winsup/cygwin/ntdll.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index d74095a57..60651e82c 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -527,6 +527,14 @@ typedef struct _PEB
ULONG SessionId;
} PEB, *PPEB;
+/* Simplifed definition, just to get the PEB pointer. */
+typedef struct _TEB
+{
+ PVOID dummy[12];
+ PPEB Peb;
+ /* A lot more follows... */
+} TEB, *PTEB;
+
typedef struct _PROCESS_BASIC_INFORMATION
{
NTSTATUS ExitStatus;