aboutsummaryrefslogtreecommitdiffstats
path: root/testing/autofs/pid_t.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-21 12:32:48 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-21 13:37:07 -0300
commite208f718ec7cccf20a7e9850deed1bfed8e51447 (patch)
tree94deead5bdb0c4b34c1da65378ca5b0c737d4b15 /testing/autofs/pid_t.patch
parent5873c3f50e842155291afa531d0dd94774688fa6 (diff)
downloadaports-e208f718ec7cccf20a7e9850deed1bfed8e51447.tar.bz2
aports-e208f718ec7cccf20a7e9850deed1bfed8e51447.tar.xz
testing/autofs: upgrade to 5.1.6
Diffstat (limited to 'testing/autofs/pid_t.patch')
-rw-r--r--testing/autofs/pid_t.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/autofs/pid_t.patch b/testing/autofs/pid_t.patch
new file mode 100644
index 0000000000..1766c34e98
--- /dev/null
+++ b/testing/autofs/pid_t.patch
@@ -0,0 +1,14 @@
+diff --git a/include/log.h b/include/log.h
+index 69eed96..14051cc 100644
+--- a/include/log.h
++++ b/include/log.h
+@@ -46,6 +46,8 @@ extern void log_crit(unsigned, const char* msg, ...);
+ extern void log_debug(unsigned int, const char* msg, ...);
+ extern void logmsg(const char* msg, ...);
+
++#include <unistd.h> /* Required for pid_t */
++
+ extern pid_t log_pidinfo(struct autofs_point *ap, pid_t pid, char *label);
+
+ #define debug(opt, msg, args...) \
+