diff options
Diffstat (limited to 'system/sudo/musl-fix-headers.patch')
-rw-r--r-- | system/sudo/musl-fix-headers.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/sudo/musl-fix-headers.patch b/system/sudo/musl-fix-headers.patch index 18a19b75d..d57a9ff4b 100644 --- a/system/sudo/musl-fix-headers.patch +++ b/system/sudo/musl-fix-headers.patch @@ -1,10 +1,10 @@ --- ./include/sudo_compat.h.orig +++ ./include/sudo_compat.h @@ -25,6 +25,7 @@ - #include <stdio.h> - #include <stdarg.h> - #include <stddef.h> /* for rsize_t */ + #endif + #if !defined(HAVE_MEMSET_S) && !defined(rsize_t) + # include <stddef.h> /* for rsize_t */ +#include <sys/types.h> /* for id_t */ - - /* - * Macros and functions that may be missing on some operating systems. + # ifdef HAVE_STRING_H + # include <string.h> /* for rsize_t on AIX */ + # endif /* HAVE_STRING_H */ |