From f1bc9f2ff9ed5527cd3bed5dbd6d75d076a49ee7 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Mon, 19 Dec 2016 20:54:51 -0500 Subject: [PATCH] Avoid pidfile() missing prototype warnings --- lib/roken/write_pid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/roken/write_pid.c b/lib/roken/write_pid.c index 310c85ac7..25ee686c3 100644 --- a/lib/roken/write_pid.c +++ b/lib/roken/write_pid.c @@ -35,6 +35,10 @@ #include "roken.h" +#ifdef HAVE_UTIL_H +#include +#endif + ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL pid_file_write(const char *progname) {