diff --git a/include/sudo_compat.h b/include/sudo_compat.h index cbc7aca10..2c10d8b4e 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -317,6 +317,12 @@ extern int errno; # define WCOREDUMP(x) ((x) & 0x80) #endif +/* Older systems may not support WCONTINUED */ +#ifndef WCONTINUED +# define WCONTINUED 0 +# define WIFCONTINUED(x) 0 +#endif + /* W_EXITCODE is not POSIX but the encoding of wait status is. */ #ifndef W_EXITCODE # define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))