Skip to content

Commit 16fb3f9

Browse files
authored
include <pthread_np.h> unconditionally on freebsd (#207)
1 parent 56dc261 commit 16fb3f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

trantor/utils/Logger.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#include <unistd.h>
2525
#elif defined _WIN32
2626
#include <sstream>
27-
#elif defined __FreeBSD__
27+
#endif
28+
29+
#if defined __FreeBSD__
2830
#include <pthread_np.h>
2931
#endif
3032

0 commit comments

Comments
 (0)