diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-30 03:09:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:25 -0500 |
commit | 4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299 (patch) | |
tree | 01d2952fe3c8fa74c7a7440cc3899097574f60ab | |
parent | 9c3145a270378e96f2a340d450cc40ec71ed751b (diff) | |
download | samba-4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299.tar.gz samba-4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299.tar.bz2 samba-4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299.zip |
r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
(This used to be commit 2961d545fb23e271c5f1c11bc618f16120e47f49)
-rw-r--r-- | source4/heimdal_build/config.m4 | 1 | ||||
-rw-r--r-- | source4/heimdal_build/err.h | 8 |
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 */ |