diff options
-rw-r--r-- | base/debug/stack_trace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h index 42234ef..1c43ee2 100644 --- a/base/debug/stack_trace.h +++ b/base/debug/stack_trace.h @@ -11,6 +11,10 @@ #include "base/base_export.h" #include "build/build_config.h" +#if defined(OS_POSIX) +#include <unistd.h> +#endif + #if defined(OS_WIN) struct _EXCEPTION_POINTERS; #endif |