about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/LYexit.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/LYexit.h')
-rw-r--r--WWW/Library/Implementation/LYexit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/LYexit.h b/WWW/Library/Implementation/LYexit.h
index 212aa95b..21d8a11b 100644
--- a/WWW/Library/Implementation/LYexit.h
+++ b/WWW/Library/Implementation/LYexit.h
@@ -19,6 +19,9 @@
 /*
  *	Required includes
  */
+#ifdef _WINDOWS
+#include <process.h>		/* declares exit() */
+#endif
 
 #ifndef HTUTILS_H
 #include <HTUtils.h>
@@ -29,7 +32,7 @@
  */
 #ifdef exit
 #undef exit
-#endif /* _WINDOWS */
+#endif
 
 #define exit(code) LYexit(code)