$OpenBSD$
--- test/testutils/domtsasserts.c.orig	Sun Feb 21 04:47:54 2016
+++ test/testutils/domtsasserts.c	Sun Feb 21 04:48:08 2016
@@ -14,7 +14,7 @@
 
 #include "domts.h"
 
-void __assert2(const char *expr, const char *function,
+void dom_assert2(const char *expr, const char *function,
 		const char *file, int line)
 {
 	UNUSED(function);
$OpenBSD$
--- test/testutils/domtsasserts.h.orig	Sun Feb 21 04:34:08 2016
+++ test/testutils/domtsasserts.h	Sun Feb 21 04:34:06 2016
@@ -18,12 +18,12 @@
 /* Redefine assert, so we can simply use the standard assert mechanism
  * within testcases and exit with the right output for the testrunner
  * to do the right thing. */
-void __assert2(const char *expr, const char *function,
+void dom_assert2(const char *expr, const char *function,
 		const char *file, int line);
 
 #undef assert
 #define assert(expr) \
-  ((void) ((expr) || (__assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
+  ((void) ((expr) || (dom_assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
 
 bool is_true(bool arg);
 
