Merge "Only include ucontext.h when necessary."

This commit is contained in:
Christopher Ferris 2014-05-10 00:15:11 +00:00 committed by Gerrit Code Review
commit 9428a2898c
4 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
#include <string.h>
#include <sys/ptrace.h>
#include <sys/types.h>
#include <ucontext.h>
#include <unistd.h>
#include <string>

View File

@ -21,7 +21,6 @@
#include <backtrace/BacktraceMap.h>
#include <sys/types.h>
#include <ucontext.h>
class BacktraceImpl {
public:

View File

@ -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>

View File

@ -19,6 +19,7 @@
#include <sys/types.h>
#include <string.h>
#include <ucontext.h>
#include <libunwind.h>
#include <libunwind-ptrace.h>