summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{