summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Dukhovni <viktor@twosigma.com>2016-12-19 20:54:51 -0500
committerViktor Dukhovni <viktor@twosigma.com>2016-12-19 20:54:51 -0500
commit719523251eba1d2635b63f9245005b0a02cdec6d (patch)
treea61161c826f3eb8c5d00e1ebf0933b8b6233f3be
parent6477c2fee904cdd5f7de56a82e034c43b2ee0766 (diff)
Avoid pidfile() missing prototype warnings
-rw-r--r--lib/roken/write_pid.c4
1 files changed, 4 insertions, 0 deletions
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 <util.h>
+#endif
+
ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL
pid_file_write(const char *progname)
{