File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ func autoreleasepool(invoking code: () -> Void) {
5454}
5555#endif
5656
57+ // FIXME: On FreeBSD, code in this file doesn't compile
5758#if !os(FreeBSD)
5859/// Race tests that need a fresh set of data for every trial should implement
5960/// this protocol.
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import Darwin
1616import Glibc
1717#endif
1818
19+ // FIXME: On FreeBSD, code in this file doesn't compile
1920#if !os(FreeBSD)
2021//
2122// Implement pthread barriers.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import Darwin
2121import Glibc
2222#endif
2323
24+ // FIXME: On FreeBSD, code in this file doesn't compile
2425#if !os(FreeBSD)
2526/// An abstract base class to encapsulate the context necessary to invoke
2627/// a block from pthread_create.
Original file line number Diff line number Diff line change @@ -380,6 +380,12 @@ module SwiftGlibc [system] {
380380 header "${GLIBC_ARCH_INCLUDE_PATH}/sys/types.h"
381381 export *
382382 }
383+ % if CMAKE_SDK != "FREEBSD":
384+ module event {
385+ header "${GLIBC_ARCH_INCLUDE_PATH}/sys/event.h"
386+ export *
387+ }
388+ % end
383389 module uio {
384390 header "${GLIBC_ARCH_INCLUDE_PATH}/sys/uio.h"
385391 export *
You can’t perform that action at this time.
0 commit comments