mirror of
https://github.com/oasislinux/oasis.git
synced 2026-05-12 21:34:47 +02:00
26 lines
655 B
Diff
26 lines
655 B
Diff
From 0584947cce192034cbbaea92db1a628a5496a51a Mon Sep 17 00:00:00 2001
|
|
From: Darren Tucker <dtucker@dtucker.net>
|
|
Date: Sun, 16 Jun 2019 12:55:27 +1000
|
|
Subject: [PATCH] Include stdio.h for vsnprintf.
|
|
|
|
Patch from mforney at mforney.org.
|
|
---
|
|
openbsd-compat/setproctitle.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
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
|
|
--
|
|
2.20.1
|
|
|