summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h')
-rw-r--r--src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h b/src/fluent-bit/lib/monkey/mk_core/deps/libevent/test/tinytest_local.h
new file mode 100644
index 000000000..87ec2fa67
--- /dev/null
+++ b/src/fluent-bit/lib/monkey/mk_core/deps/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