From ace5f3c6ed01274d166a94114bd0b07cbf4edf70 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Mon, 11 Oct 2004 20:53:50 +0000 Subject: [PATCH] Define pid_t and ssize_t if not already defined. --- include/msvcrt/sys/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/msvcrt/sys/types.h b/include/msvcrt/sys/types.h index e653054caab..168035e89a5 100644 --- a/include/msvcrt/sys/types.h +++ b/include/msvcrt/sys/types.h @@ -61,4 +61,14 @@ typedef unsigned long u_long; #define mode_t _mode_t #define off_t _off_t +#ifndef _PID_T_DEFINED +typedef int pid_t; +#define _PID_T_DEFINED +#endif + +#ifndef _SSIZE_T_DEFINED +typedef int ssize_t; +#define _SSIZE_T_DEFINED +#endif + #endif /* __WINE_SYS_TYPES_H */