diff --git a/src/blocking_pipe.c b/src/blocking_pipe.c index b560272..610bbe4 100644 --- a/src/blocking_pipe.c +++ b/src/blocking_pipe.c @@ -9,6 +9,16 @@ #include #include +#ifdef _WIN32 +#include +#include + +int pipe(int pipefd[2]) +{ + return _pipe(pipefd, BUFSIZ, O_BINARY); +} +#endif + #include "blocking_pipe.h"