mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
12 lines
428 B
C++
12 lines
428 B
C++
--- cpp/util/masterelection_test.cc.orig 2016-10-14 17:11:57 UTC
|
|
+++ cpp/util/masterelection_test.cc
|
|
@@ -3,6 +3,9 @@
|
|
#include <event2/thread.h>
|
|
#include <gflags/gflags.h>
|
|
#include <glog/logging.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 <gmock/gmock.h>
|
|
#include <gtest/gtest.h>
|
|
#include <atomic>
|