summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--variables.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/variables.h b/variables.h
index 8a0f1ad4e..afaa72905 100644
--- a/variables.h
+++ b/variables.h
@@ -422,12 +422,11 @@ 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;
+#ifdef UNIX
+ VARDEF pid_t _dedicated_pid;
+#endif
void CDECL debug(const char *s, ...);
#ifdef NO_DEBUG_MESSAGES