gperftools/benchmark-use-angle-brackets-to-include-ucontext.h.patch
2019-09-30 10:51:34 -04:00

27 lines
745 B
Diff

From 3af509d4f91aa1fae3f8caeb17b158f20e9b5e59 Mon Sep 17 00:00:00 2001
From: Gabriel Marin <gmx@chromium.org>
Date: Tue, 17 Jul 2018 18:28:01 -0700
Subject: [PATCH 13/39] benchmark: use angle brackets to include ucontext.h
Using quotes for a system header file fails a presubmit check in Chromium.
---
benchmark/unwind_bench.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/benchmark/unwind_bench.cc b/benchmark/unwind_bench.cc
index f919fc0..9c4e2f8 100644
--- a/benchmark/unwind_bench.cc
+++ b/benchmark/unwind_bench.cc
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
-#include "sys/ucontext.h"
+#include <sys/ucontext.h>
#if HAVE_LIBUNWIND_H
#include <libunwind.h>
#endif
--
1.8.3.1