--- ray/src/common/rtprocess.h 2003/06/26 00:58:09 3.1 +++ ray/src/common/rtprocess.h 2003/07/14 22:23:59 3.4 @@ -1,4 +1,4 @@ -/* RCSid $Id: rtprocess.h,v 3.1 2003/06/26 00:58:09 schorsch Exp $ */ +/* RCSid $Id: rtprocess.h,v 3.4 2003/07/14 22:23:59 schorsch Exp $ */ /* * rtprocess.h * Routines to communicate with separate process via dual pipes @@ -7,26 +7,21 @@ */ #ifndef _RAD_PROCESS_H_ #define _RAD_PROCESS_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#include "copyright.h" - -#include +#include #ifdef _WIN32 - #include + #include /* DWORD etc. */ + typedef DWORD pid_t; + #include /* getpid() and others */ #else #include - #include #endif -#ifndef BSD -#include -#endif #include "paths.h" +#ifdef __cplusplus +extern "C" { +#endif /* On Windows, a process ID is a DWORD. That might actually be the same thing as an int, but it's better not to assume anything. @@ -41,9 +36,6 @@ extern "C" { runtime, so that client modules can still use -1 as invalid PID. */ -#ifdef _WIN32 - typedef DWORD pid_t; -#endif #ifndef PIPE_BUF #ifdef PIPSIZ