From 2f55c8bfc4553d4c4d8871d9a88ef095571fc034 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sat, 18 Dec 2004 18:05:56 +0000 Subject: (svn r1159) -Fix: pid_t was unknown to windows; typedeffed to int. --- variables.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'variables.h') diff --git a/variables.h b/variables.h index cdefafe50..8a0f1ad4e 100644 --- a/variables.h +++ b/variables.h @@ -422,6 +422,9 @@ VARDEF int _debug_ai_level; VARDEF int _debug_net_level; /* Forking stuff */ +#if !defined(pid_t) +typedef int pid_t; +#endif VARDEF bool _dedicated_forks; VARDEF bool _dedicated_enabled; VARDEF pid_t _dedicated_pid; -- cgit v1.2.3-54-g00ecf