about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/www_wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/www_wait.h')
-rw-r--r--WWW/Library/Implementation/www_wait.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/www_wait.h b/WWW/Library/Implementation/www_wait.h
index 730b3ec5..3e40e889 100644
--- a/WWW/Library/Implementation/www_wait.h
+++ b/WWW/Library/Implementation/www_wait.h
@@ -23,4 +23,12 @@
 # endif
 #endif
 
+#ifndef WSTOPSIG
+# ifdef HAVE_TYPE_UNIONWAIT
+#  define	WSTOPSIG(status)	(status.w_stopsig)
+# else
+#  define	WSTOPSIG(status)	WEXITSTATUS(status)
+# endif
+#endif
+
 #endif /* WWW_WAIT_H */