summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-08-27 08:55:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2017-08-27 08:55:40 +1000
commitf5e917ab105af5dd6429348d9bc463e52b263f92 (patch)
tree1e210fc4ba2ef3589e06efd38021d3d5d47ebd08
parent878e029797cfc9754771d6f6ea17f8c89e11d225 (diff)
Add missing includes for bsd-err.c.
Patch from cjwatson at debian.org via bz#2767.
-rw-r--r--openbsd-compat/bsd-err.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-err.c b/openbsd-compat/bsd-err.c
index ab10646f..e4ed22b8 100644
--- a/openbsd-compat/bsd-err.c
+++ b/openbsd-compat/bsd-err.c
@@ -27,6 +27,12 @@
#include "includes.h"
+#include <errno.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#ifndef HAVE_ERR
void
err(int r, const char *fmt, ...)