summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Webb <swebb@blackberry.com>2020-05-24 10:42:41 -0400
committerDave Watson <dade.watson@gmail.com>2020-06-18 13:42:19 -0700
commit77dfbd60e715399f06b3e823fdffa5d9c658caf2 (patch)
treeea43e79993a888d0c3d3cffe159611f59b24a4b8 /tests
parent809c48efe0f1a9344dad5e5ffa845f3e6fe75bf6 (diff)
downloadlibunwind-77dfbd60e715399f06b3e823fdffa5d9c658caf2.tar.gz
Consistently use POSIX <ucontext.h>
Use the (former) POSIX-standard <ucontext.h> everywhere instead of sometimes using the Linux-specxific <sys/ucontext.h>.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-coredump-unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-coredump-unwind.c b/tests/test-coredump-unwind.c
index fb06a38e..1a3c130f 100644
--- a/tests/test-coredump-unwind.c
+++ b/tests/test-coredump-unwind.c
@@ -62,7 +62,7 @@
#else
extern int backtrace (void **, int);
#endif
-#include <sys/ucontext.h>
+#include <ucontext.h>
#include <libunwind-coredump.h>