diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-07-28 00:18:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-28 00:18:31 +0200 |
commit | fc2f62a10d7216352d8c671006e8239fd487b421 (patch) | |
tree | 945cba487e9c582a88cb38fad0cfdcbbe0bbec5d /src/debug | |
parent | b832a6dd6a5a3647cb1a8ecde1386536ad60b2b3 (diff) | |
download | coreclr-fc2f62a10d7216352d8c671006e8239fd487b421.tar.gz coreclr-fc2f62a10d7216352d8c671006e8239fd487b421.tar.bz2 coreclr-fc2f62a10d7216352d8c671006e8239fd487b421.zip |
Fix Alpine build (#13052)
This change fixes CoreCLR build on Alpine Linux
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/createdump/threadinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/createdump/threadinfo.cpp b/src/debug/createdump/threadinfo.cpp index 0bb439e50c..6a91ed741b 100644 --- a/src/debug/createdump/threadinfo.cpp +++ b/src/debug/createdump/threadinfo.cpp @@ -5,6 +5,10 @@ #include "createdump.h" #include <asm/ptrace.h> +#ifndef __GLIBC__ +typedef int __ptrace_request; +#endif + #define FPREG_ErrorOffset(fpregs) *(DWORD*)&((fpregs).rip) #define FPREG_ErrorSelector(fpregs) *(((WORD*)&((fpregs).rip)) + 2) #define FPREG_DataOffset(fpregs) *(DWORD*)&((fpregs).rdp) |