You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
645 B

  1. From 73eb6cef41daba0359c1888e4756108d41b4e819 Mon Sep 17 00:00:00 2001
  2. From: Darren Tucker <dtucker@dtucker.net>
  3. Date: Sun, 16 Jun 2019 12:55:27 +1000
  4. Subject: [PATCH] Include stdio.h for vsnprintf.
  5. Patch from mforney at mforney.org.
  6. ---
  7. openbsd-compat/setproctitle.c | 1 +
  8. 1 file changed, 1 insertion(+)
  9. diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
  10. index dbd1a95a0..e4064323a 100644
  11. --- a/openbsd-compat/setproctitle.c
  12. +++ b/openbsd-compat/setproctitle.c
  13. @@ -36,6 +36,7 @@
  14. #ifndef HAVE_SETPROCTITLE
  15. #include <stdarg.h>
  16. +#include <stdio.h>
  17. #include <stdlib.h>
  18. #include <unistd.h>
  19. #ifdef HAVE_SYS_PSTAT_H