aboutsummaryrefslogtreecommitdiff
path: root/sntp/libevent/test/tinytest_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/libevent/test/tinytest_local.h')
-rw-r--r--sntp/libevent/test/tinytest_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sntp/libevent/test/tinytest_local.h b/sntp/libevent/test/tinytest_local.h
new file mode 100644
index 000000000000..87ec2fa67e76
--- /dev/null
+++ b/sntp/libevent/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