summaryrefslogtreecommitdiffstats
path: root/libbacktrace/UnwindCurrent.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 16:59:06 -0700
committerChristopher Ferris <cferris@google.com>2014-05-09 16:59:06 -0700
commitc58287d60166ebdb1bd39fa40e5524c868c73a9b (patch)
treea594c23641d255bc9c2842cb63e1a8220021bb39 /libbacktrace/UnwindCurrent.cpp
parentb49f23ed3198ee6129ad675e26c8d197ed984017 (diff)
downloadsystem_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.zip
system_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.tar.gz
system_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.tar.bz2
Only include ucontext.h when necessary.
Change-Id: I29014f6c6b82e0a9797e5d76147b3c4e3d82a7f5
Diffstat (limited to 'libbacktrace/UnwindCurrent.cpp')
-rwxr-xr-xlibbacktrace/UnwindCurrent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/UnwindCurrent.cpp b/libbacktrace/UnwindCurrent.cpp
index e5f7c3d..b176aaf 100755
--- a/libbacktrace/UnwindCurrent.cpp
+++ b/libbacktrace/UnwindCurrent.cpp
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#include <sys/ucontext.h>
#include <sys/types.h>
+#include <ucontext.h>
#include <backtrace/Backtrace.h>
#include <backtrace/BacktraceMap.h>