summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 03:09:32 +0000
committerJelmer Vernooij <jelmer@samba.org>2006-04-30 03:09:32 +0000
commitca2524e8d63f3bbb38c42e7c92e7dcf41da80ca1 (patch)
tree45b100c35cb6c5878efbdbbfb355ea1d7bf5bc82 /source
parentd0f7770485b687fe45eff184c68b707474dc8f4c (diff)
downloadsamba-ca2524e8d63f3bbb38c42e7c92e7dcf41da80ca1.tar.gz
samba-ca2524e8d63f3bbb38c42e7c92e7dcf41da80ca1.tar.xz
samba-ca2524e8d63f3bbb38c42e7c92e7dcf41da80ca1.zip
r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
Diffstat (limited to 'source')
-rw-r--r--source/heimdal_build/config.m41
-rw-r--r--source/heimdal_build/err.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/source/heimdal_build/config.m4 b/source/heimdal_build/config.m4
index 0f3596cd0fa..da88bb3c4f1 100644
--- a/source/heimdal_build/config.m4
+++ b/source/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/source/heimdal_build/err.h b/source/heimdal_build/err.h
new file mode 100644
index 00000000000..b36e28c18fe
--- /dev/null
+++ b/source/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 */