From 4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 30 Apr 2006 03:09:32 +0000 Subject: r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64 (This used to be commit 2961d545fb23e271c5f1c11bc618f16120e47f49) --- source4/heimdal_build/config.m4 | 1 + source4/heimdal_build/err.h | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 source4/heimdal_build/err.h (limited to 'source4/heimdal_build') 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 */ -- cgit