Skip to content

Commit e1bd7c9

Browse files
committed
Merge pull request #1484 from dcci/printf
[FreeBSD] Include <stdio.h>, needed for printf().
2 parents 05f864e + 59ed25c commit e1bd7c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/Runtime/Concurrent.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#include <atomic>
1616
#include <stdint.h>
1717

18+
#if defined(__FreeBSD__)
19+
#include <stdio.h>
20+
#endif
21+
1822
/// This is a node in a concurrent linked list.
1923
template <class ElemTy> struct ConcurrentListNode {
2024
ConcurrentListNode(ElemTy Elem) : Payload(Elem), Next(nullptr) {}

0 commit comments

Comments
 (0)