summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-err.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-err.c')
-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, ...)