summaryrefslogtreecommitdiff
path: root/security/certificate-transparency/files/patch-cpp-util-libevent_wrapper_test.cc
blob: 001748361172d8302f96f2576b111bc06f795e5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- cpp/util/libevent_wrapper_test.cc.orig	2016-10-14 17:11:57 UTC
+++ cpp/util/libevent_wrapper_test.cc
@@ -1,5 +1,8 @@
 #include "util/libevent_wrapper.h"
 
+// Without this, build will fail due to clash between onigposix.h
+// and regex.h; note it's only compiled with "make check".
+#define GTEST_HAS_POSIX_RE 0
 #include <gtest/gtest.h>
 
 #include "util/testing.h"