Skip to content

Commit fc420f7

Browse files
committed
RunLoop: include missing header on Windows
Include `process.h` for the declaration of the threading functions.
1 parent 2f9baf3 commit fc420f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CoreFoundation/RunLoop.subproj/CFSocket.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,9 @@ Boolean __CFSocketGetBytesAvailable(CFSocketRef s, CFIndex* ctBytesAvailable) {
966966
#include <CoreFoundation/CFPropertyList.h>
967967
#include "CFInternal.h"
968968
#include "CFRuntime_Internal.h"
969+
#if DEPLOYMENT_TARGET_WINDOWS
970+
#include <process.h>
971+
#endif
969972

970973
#ifndef NBBY
971974
#define NBBY 8

0 commit comments

Comments
 (0)