From d36e30d8c2cf8b2b8d364449e5fdc535268cf7e0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 2 Jan 1997 07:03:45 +0000 Subject: [PATCH] [_MSC_VER]: Include stdlib.h and process.h. [_MSC_VER] (getpid): Define as macro--translate it to _getpid. --- src/system.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.45.2