summaryrefslogtreecommitdiff
path: root/openbsd-compat
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 /openbsd-compat
parentadcaf40fd0a180e6cb5798317fdf479b52e3c09a (diff)
Include stdio.h for vsnprintf.
Patch from mforney at mforney.org.
Diffstat (limited to 'openbsd-compat')
-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 dbd1a95a..e4064323 100644
--- a/openbsd-compat/setproctitle.c
+++ b/openbsd-compat/setproctitle.c
@@ -36,6 +36,7 @@
#ifndef HAVE_SETPROCTITLE
#include <stdarg.h>
+#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef HAVE_SYS_PSTAT_H