summaryrefslogtreecommitdiff
path: root/test/tinytest_local.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-09-24 16:32:10 +0000
committerEd Maste <emaste@FreeBSD.org>2018-09-24 16:32:10 +0000
commitcbc620a473ce23d882ba3e9f91ec0c6c12dcd239 (patch)
tree7d8d17e35fb312cb2e806d983cb326f645a7372e /test/tinytest_local.h
Notes
Diffstat (limited to 'test/tinytest_local.h')
-rw-r--r--test/tinytest_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/tinytest_local.h b/test/tinytest_local.h
new file mode 100644
index 0000000000000..87ec2fa67e769
--- /dev/null
+++ b/test/tinytest_local.h
@@ -0,0 +1,12 @@
+
+#include "util-internal.h"
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
+
+#include "event2/util.h"
+
+#ifdef snprintf
+#undef snprintf
+#endif
+#define snprintf evutil_snprintf