Skip to content

Commit f8d6201

Browse files
committed
fix: windows compilation
1 parent 7270c5a commit f8d6201

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_tracer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
#include <datadog/tracer.h>
1919
#include <datadog/tracer_config.h>
2020
#include <datadog/w3c_propagation.h>
21+
#if defined(__linux__) || defined(__unix__)
2122
#include <dirent.h>
22-
#include <stdio.h>
2323
#include <sys/types.h>
2424
#include <unistd.h>
25+
#endif
2526

2627
#include <chrono>
2728
#include <ctime>

0 commit comments

Comments
 (0)