Merge "Only include ucontext.h when necessary."
This commit is contained in:
commit
9428a2898c
|
@ -19,6 +19,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/types.h>
|
||||
#include <ucontext.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <backtrace/BacktraceMap.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <ucontext.h>
|
||||
|
||||
class BacktraceImpl {
|
||||
public:
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <ucontext.h>
|
||||
|
||||
#include <libunwind.h>
|
||||
#include <libunwind-ptrace.h>
|
||||
|
|
Loading…
Reference in New Issue