summaryrefslogtreecommitdiff
path: root/openbsd-compat
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 /openbsd-compat
parent878e029797cfc9754771d6f6ea17f8c89e11d225 (diff)
Add missing includes for bsd-err.c.
Patch from cjwatson at debian.org via bz#2767.
Diffstat (limited to 'openbsd-compat')
-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 ab10646f0..e4ed22b86 100644
--- a/openbsd-compat/bsd-err.c
+++ b/openbsd-compat/bsd-err.c
@@ -27,6 +27,12 @@
27 27
28#include "includes.h" 28#include "includes.h"
29 29
30#include <errno.h>
31#include <stdarg.h>
32#include <stdio.h>
33#include <stdlib.h>
34#include <string.h>
35
30#ifndef HAVE_ERR 36#ifndef HAVE_ERR
31void 37void
32err(int r, const char *fmt, ...) 38err(int r, const char *fmt, ...)