From: Richard M. Stallman Date: Thu, 2 Jan 1997 07:03:45 +0000 (+0000) Subject: [_MSC_VER]: Include stdlib.h and process.h. X-Git-Tag: GNU_ORIG~16 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/d36e30d8c2cf8b2b8d364449e5fdc535268cf7e0 [_MSC_VER]: Include stdlib.h and process.h. [_MSC_VER] (getpid): Define as macro--translate it to _getpid. --- diff --git a/src/system.h b/src/system.h index 5d332099..32ab2b97 100644 --- a/src/system.h +++ b/src/system.h @@ -2,6 +2,12 @@ #include #endif +#ifdef _MSC_VER +#include +#include +#define getpid _getpid +#endif + #if defined(HAVE_STDLIB_H) || defined(MSDOS) #include #endif