/* Fixups for wait. */

#ifndef _PORT_WAIT_H
#define _PORT_WAIT_H

union wait {
	int w_status;
	struct {
		unsigned short w_fill1:16;
		unsigned short w_Retcode:8;
		unsigned short w_Coredump:1;
		unsigned short w_Termsig:7;
		} w_T;
	struct {
		unsigned short w_Fill2:16;
		unsigned short w_Stopsig:8;
		unsigned short w_Stopval:8;
		} w_S;
	};
#define w_termsig	w_T.w_Termsig
#define w_coredump	w_T.w_coredump
#define w_retcode	w_T.w_retcode
#define w_stopval	w_S.w_stopval
#define w_stopsig	w_S.w_stopsig

#include "/usr/include/sys/wait.h"

#endif
