summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-06-16 12:55:27 +1000
committerDarren Tucker <dtucker@dtucker.net>2019-06-16 12:55:27 +1000
commit73eb6cef41daba0359c1888e4756108d41b4e819 (patch)
tree4550d6a21e6efb9a082add1e98bcae9ee7a465ba
parentadcaf40fd0a180e6cb5798317fdf479b52e3c09a (diff)
Include stdio.h for vsnprintf.
Patch from mforney at mforney.org.
-rw-r--r--openbsd-compat/setproctitle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
index dbd1a95a0..e4064323a 100644
--- a/openbsd-compat/setproctitle.c
+++ b/openbsd-compat/setproctitle.c
@@ -36,6 +36,7 @@
36#ifndef HAVE_SETPROCTITLE 36#ifndef HAVE_SETPROCTITLE
37 37
38#include <stdarg.h> 38#include <stdarg.h>
39#include <stdio.h>
39#include <stdlib.h> 40#include <stdlib.h>
40#include <unistd.h> 41#include <unistd.h>
41#ifdef HAVE_SYS_PSTAT_H 42#ifdef HAVE_SYS_PSTAT_H