From 77305c3ae6c975753cd0d696d4921cd767a4a44a Mon Sep 17 00:00:00 2001 From: John Budorick Date: Wed, 24 May 2017 12:36:40 -0700 Subject: [PATCH] Wrap config.h include in HAVE_CONFIG_H. Bug: breakpad:730 Change-Id: I5a24b96258e1114378061512239d3e18f3f753f0 Reviewed-on: https://chromium-review.googlesource.com/514283 Reviewed-by: Mark Mentovai Reviewed-by: Mike Frysinger --- src/common/linux/guid_creator.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/linux/guid_creator.cc b/src/common/linux/guid_creator.cc index 6b5187c8..f81c2911 100644 --- a/src/common/linux/guid_creator.cc +++ b/src/common/linux/guid_creator.cc @@ -27,7 +27,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #include "common/linux/eintr_wrapper.h" #include "common/linux/guid_creator.h"