diff options
author | shenhan@google.com <shenhan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-17 14:33:25 +0000 |
---|---|---|
committer | shenhan@google.com <shenhan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-17 14:33:25 +0000 |
commit | 47c45561933254d9582dcecf0f566e5c82e19c93 (patch) | |
tree | 5524cf44d3031432b40b426c5f628e9dd673cd7e | |
parent | f83637f5cc8a30d5168bca83b91d117793a0ae27 (diff) | |
download | chromium_src-47c45561933254d9582dcecf0f566e5c82e19c93.zip chromium_src-47c45561933254d9582dcecf0f566e5c82e19c93.tar.gz chromium_src-47c45561933254d9582dcecf0f566e5c82e19c93.tar.bz2 |
Fix gcc 4.7 compilation problem by adding explict unistd.h inclusion.
(intptr_t is defined in unistd.h)
TEST=Built using gcc 4.7
BUG=
Review URL: https://chromiumcodereview.appspot.com/11412026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168439 0039d316-1c4b-4281-b951-d872f2087c98
-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 |