r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
authorJelmer Vernooij <jelmer@samba.org>
Sun, 30 Apr 2006 03:09:32 +0000 (03:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:25 +0000 (14:05 -0500)
(This used to be commit 2961d545fb23e271c5f1c11bc618f16120e47f49)

source4/heimdal_build/config.m4
source4/heimdal_build/err.h [new file with mode: 0644]

index 0f3596cd0fa24e51094bac4e1e80902606436d20..da88bb3c4f182f07a61b603b4bbf3841659f2591 100644 (file)
@@ -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 (file)
index 0000000..b36e28c
--- /dev/null
@@ -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 */