ext/extconf.rb in proc-wait3-1.5.4 vs ext/extconf.rb in proc-wait3-1.5.5
- old
+ new
@@ -62,9 +62,13 @@
have_const('P_GID', 'signal.h')
have_const('P_MYID', 'signal.h')
have_const('P_SID', 'signal.h')
have_const('P_UID', 'signal.h')
+ have_const('P_ALL', 'signal.h') || have_const('P_ALL', 'sys/wait.h')
+ have_const('P_PGID', 'signal.h') || have_const('P_PGID', 'sys/wait.h')
+ have_const('P_PID', 'signal.h') || have_const('P_PID', 'sys/wait.h')
+
# These are only supported by Solaris 8 and later afaik
have_const('P_PROJID', 'signal.h')
have_const('P_TASKID', 'signal.h')
rescue NoMethodError
require 'rbconfig'