diff --git a/include/Makefile.am b/include/Makefile.am index c55bbb1..3814fce 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -7,6 +7,7 @@ noinst_HEADERS += sys/socket.h noinst_HEADERS += sys/types.h noinst_HEADERS += sys/time.h noinst_HEADERS += sys/mman.h +noinst_HEADERS += sys/wait.h noinst_HEADERS += err.h noinst_HEADERS += ifaddrs.h noinst_HEADERS += imsg.h diff --git a/include/sys/wait.h b/include/sys/wait.h new file mode 100644 index 0000000..fc20051 --- /dev/null +++ b/include/sys/wait.h @@ -0,0 +1,15 @@ +/* + * Public domain + * sys/wait.h compatibility shim + */ + +#include_next + +#ifndef LIBCOMPAT_SYS_WAIT_H +#define LIBCOMPAT_SYS_WAIT_H + +#ifndef WAIT_ANY +#define WAIT_ANY (-1) /* Any process. */ +#endif + +#endif