aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJohn Budorick <jbudorick@chromium.org>2017-05-24 12:36:40 -0700
committerMark Mentovai <mark@chromium.org>2017-05-24 20:44:03 +0000
commit77305c3ae6c975753cd0d696d4921cd767a4a44a (patch)
treea974887a5cd1fd402884b47fb3f5c0d95f73f099 /src/common
parentUse __NR_exit_group in MinidumpWriterTest.MinidumpStacksSkippedIfRequested. (diff)
downloadbreakpad-77305c3ae6c975753cd0d696d4921cd767a4a44a.tar.xz
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 <mark@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/linux/guid_creator.cc5
1 files changed, 4 insertions, 1 deletions
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 <config.h>
+#endif
+
#include "common/linux/eintr_wrapper.h"
#include "common/linux/guid_creator.h"