summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-05-14 01:47:13 +0000
committerthorpej <thorpej@NetBSD.org>2000-05-14 01:47:13 +0000
commit47eb43337fe03b4bdc161489e8ff5f4e9365bf80 (patch)
tree55961c523f90cea98d42d959032aa2f8edf9840b /gnu
parent3f3abfd3597a523256762f5f346beab6441bf903 (diff)
NetBSD 1.4 and later has basename(3).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/postfix/util/sys_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/dist/postfix/util/sys_defs.h b/gnu/dist/postfix/util/sys_defs.h
index a7db1314bb2..298d9194911 100644
--- a/gnu/dist/postfix/util/sys_defs.h
+++ b/gnu/dist/postfix/util/sys_defs.h
@@ -36,6 +36,10 @@
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
/* sendmail 8.10 */
#define ALIAS_DB_MAP "hash:/etc/mail/aliases"
+#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104000000)
+/* NetBSD 1.4 and later has basename(3) */
+#define HAVE_BASENAME
+#endif
#else
#define ALIAS_DB_MAP "hash:/etc/aliases"
#endif