summaryrefslogtreecommitdiff
path: root/system/sudo/musl-fix-headers.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 04:52:00 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 04:52:00 +0000
commitcb3f92223d1a88b8402ede9fe800fd5e3bb8f550 (patch)
treee51e5880ad48ec3c9ada48a8206035c2f8dfce27 /system/sudo/musl-fix-headers.patch
parent80262e0f777453a9f5c5002e8bd68b9133d59d10 (diff)
downloadpackages-cb3f92223d1a88b8402ede9fe800fd5e3bb8f550.tar.gz
packages-cb3f92223d1a88b8402ede9fe800fd5e3bb8f550.tar.bz2
packages-cb3f92223d1a88b8402ede9fe800fd5e3bb8f550.tar.xz
packages-cb3f92223d1a88b8402ede9fe800fd5e3bb8f550.zip
system/sudo: bugfix bump to 1.8.25_p1
Diffstat (limited to 'system/sudo/musl-fix-headers.patch')
-rw-r--r--system/sudo/musl-fix-headers.patch12
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 */