11 lines
434 B
Diff
11 lines
434 B
Diff
--- a/lib/esan/esan_sideline_linux.cpp
|
|
+++ b/lib/esan/esan_sideline_linux.cpp
|
|
@@ -70,7 +70,7 @@ int SidelineThread::runSideline(void *Arg) {
|
|
|
|
// Set up a signal handler on an alternate stack for safety.
|
|
InternalScopedBuffer<char> StackMap(SigAltStackSize);
|
|
- struct sigaltstack SigAltStack;
|
|
+ stack_t SigAltStack;
|
|
SigAltStack.ss_sp = StackMap.data();
|
|
SigAltStack.ss_size = SigAltStackSize;
|
|
SigAltStack.ss_flags = 0;
|