@@ -12,21 +12,31 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -#include +#ifndef _WIN32 +# include +#endif #import "OFStream.h" + +#ifdef _WIN32 +# include +#endif /** * \brief A class for stream-like communication with a newly created process. */ @interface OFProcess: OFStream { +#ifndef _WIN32 pid_t pid; int readPipe[2], writePipe[2]; +#else + HANDLE readPipe[2], writePipe[2]; +#endif int status; BOOL atEndOfStream; } /**