1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/autofs/pid_t.patch
2019-10-21 13:37:07 -03:00

14 lines
453 B
Diff

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...) \