diff --git a/include/sudo_compat.h b/include/sudo_compat.h index ed8aa1992..43924cc35 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -318,8 +318,8 @@ extern int errno; #endif /* Older systems may not support WCONTINUED */ -#ifndef WCONTINUED -# define WCONTINUED 0 +#if !defined(WCONTINUED) && !defined(WIFCONTINUED) +# define WCONTINUED 0 # define WIFCONTINUED(x) 0 #endif