From 0e113851a5cec15ce62cf909ab4ef5d91287193e Mon Sep 17 00:00:00 2001 From: Casey Dahlin Date: Fri, 8 Mar 2019 15:04:48 -0800 Subject: [PATCH] Add unistd.h to includes in Regs.h This is required to use pid_t, but by luck nobody noticed its absence until the Fuchsia build. Test: Code now builds inside Fuchsia --- libunwindstack/include/unwindstack/Regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libunwindstack/include/unwindstack/Regs.h b/libunwindstack/include/unwindstack/Regs.h index 878ced30c..1c2a81c0c 100644 --- a/libunwindstack/include/unwindstack/Regs.h +++ b/libunwindstack/include/unwindstack/Regs.h @@ -18,6 +18,7 @@ #define _LIBUNWINDSTACK_REGS_H #include +#include #include #include