mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
Only define WCONTINUED and WIFCONTINUED if neither are already defined.
Fixes a warning on musl libc where WIFCONTINUED is defined in stdlib.h for some reason.
This commit is contained in:
parent
4ea7ecffdd
commit
ea1226be7c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user