summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-18 17:27:38 +0000
committerdes <des@FreeBSD.org>2013-09-18 17:27:38 +0000
commitff2597d3eebc3da3f7cf2a638607274cad9b199e (patch)
treea3ace41867a87a4a940a57f82cd20c283e6aa7cb /openbsd-compat/bsd-misc.h
parentf054e5cb18d6e2020eb4fe568cc383ac22fa23c4 (diff)
downloadFreeBSD-src-ff2597d3eebc3da3f7cf2a638607274cad9b199e.zip
FreeBSD-src-ff2597d3eebc3da3f7cf2a638607274cad9b199e.tar.gz
Vendor import of OpenSSH 6.3p1
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 4300663..65c18ec 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -1,4 +1,4 @@
-/* $Id: bsd-misc.h,v 1.23 2013/03/14 23:34:27 djm Exp $ */
+/* $Id: bsd-misc.h,v 1.25 2013/08/04 11:48:41 dtucker Exp $ */
/*
* Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org>
@@ -110,4 +110,16 @@ int isblank(int);
pid_t getpgid(pid_t);
#endif
+#ifndef HAVE_ENDGRENT
+# define endgrent() {}
+#endif
+
+#ifndef HAVE_KRB5_GET_ERROR_MESSAGE
+# define krb5_get_error_message krb5_get_err_text
+#endif
+
+#ifndef HAVE_KRB5_FREE_ERROR_MESSAGE
+# define krb5_free_error_message(a,b) while(0)
+#endif
+
#endif /* _BSD_MISC_H */
OpenPOWER on IntegriCloud