diff options
author | Konstantin Baladurin <k.baladurin@partner.samsung.com> | 2017-10-17 21:27:14 +0300 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-10-17 11:27:14 -0700 |
commit | 38fe3bbb97535129c3b71f859f8f387237699868 (patch) | |
tree | 9864675382484a4e31dd8ae829cd5cfc97c0911b | |
parent | 60ddc67196eafb5cafd0d89e461c9d700a697d6d (diff) | |
download | libunwind-38fe3bbb97535129c3b71f859f8f387237699868.tar.gz |
x86: Fix build (#45)
We should include <sys/syscall.h> for SYS_rt_sigreturn in x86/Gos-linux.c
-rw-r--r-- | src/x86/Gos-linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x86/Gos-linux.c b/src/x86/Gos-linux.c index 37a22b97..7cc98d60 100644 --- a/src/x86/Gos-linux.c +++ b/src/x86/Gos-linux.c @@ -26,6 +26,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "unwind_i.h" #include "offsets.h" +#include <sys/syscall.h> + PROTECTED int unw_is_signal_frame (unw_cursor_t *cursor) { |