K 10
svn:author
V 6
kondou
K 8
svn:date
V 27
1998-06-11T22:59:42.000000Z
K 7
svn:log
V 648
include/clibrary.h.in:
	- From: Heath Kehoe <hakehoe@norand.com>
	- The problem here is that the HP/UX headers define a 'union wait' (for
	  BSD compatibility), but the WEXITSTATUS macro is written to work on
	  an int.  So, the compile bombs in waitnb.c on '*statusp = WAITVAL(w);'
	  since WAITVAL(w) expands to WEXITSTATUS(w), which expands to
	  (((int)(w)>>8)&0377), which causes the error because w is defined as
	  a union wait.

	  Since the HP/UX wait syscalls are declared to use (int *) instead
	  of (union wait *), I think the best solution is to force
	  HAVE_UNION_WAIT to be off.  A simple addition to clibrary.h does the
	  trick.

END
