summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/config.m41
-rw-r--r--source4/heimdal_build/err.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index 0f3596cd0f..da88bb3c4f 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -36,6 +36,7 @@ esac
AC_CHECK_HEADERS([ \
crypt.h \
curses.h \
+ err.h \
errno.h \
inttypes.h \
netdb.h \
diff --git a/source4/heimdal_build/err.h b/source4/heimdal_build/err.h
new file mode 100644
index 0000000000..b36e28c18f
--- /dev/null
+++ b/source4/heimdal_build/err.h
@@ -0,0 +1,8 @@
+#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, ...);
+
+#endif /* err.h */