summaryrefslogtreecommitdiffstats
path: root/kerberos5/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'kerberos5/include/config.h')
-rw-r--r--kerberos5/include/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kerberos5/include/config.h b/kerberos5/include/config.h
index a76a7de..6812a53 100644
--- a/kerberos5/include/config.h
+++ b/kerberos5/include/config.h
@@ -3,6 +3,8 @@
/* $FreeBSD$ */
+#include <osreldate.h>
+
#ifndef RCSID
#define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#endif
@@ -284,7 +286,10 @@
#define HAVE_GETOPT 1
/* Define if you have the `getprogname' function. */
+#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \
+ __FreeBSD_version >= 500019
#define HAVE_GETPROGNAME 1
+#endif
/* Define if you have the `getpwnam_r' function. */
/* #undef HAVE_GETPWNAM_R */
@@ -582,7 +587,10 @@
#define HAVE_SETPROCTITLE 1
/* Define if you have the `setprogname' function. */
+#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \
+ __FreeBSD_version >= 500019
#define HAVE_SETPROGNAME 1
+#endif
/* Define if you have the `setregid' function. */
#define HAVE_SETREGID 1
OpenPOWER on IntegriCloud