summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/err.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/err.h b/source4/heimdal_build/err.h
index b36e28c18f..abdeb9ed7a 100644
--- a/source4/heimdal_build/err.h
+++ b/source4/heimdal_build/err.h
@@ -1,8 +1,14 @@
+#ifdef HAVE_ERR_H
+#include <err.h>
+#else
+
#ifndef _ERR_H
#define _ERR_H 1
void err(int eval, const char *format, ...);
void errx(int eval, const char *format, ...);
void warnx(const char *format, ...);
+void warn(const char *format, ...);
#endif /* err.h */
+#endif /* HAVE_ERR_H */