Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/postfix/util The last commit needs an #include <lib...



details:   https://anonhg.NetBSD.org/src/rev/f807131a387e
branches:  trunk
changeset: 486161:f807131a387e
user:      veego <veego%NetBSD.org@localhost>
date:      Sun May 14 14:07:48 2000 +0000

description:
The last commit needs an #include <libgen.h> to get the prototype of
basename(3). Thanks to Thomas Klausner for pointing that out.

diffstat:

 gnu/dist/postfix/util/sys_defs.h |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r bacee1d5450f -r f807131a387e gnu/dist/postfix/util/sys_defs.h
--- a/gnu/dist/postfix/util/sys_defs.h  Sun May 14 13:22:17 2000 +0000
+++ b/gnu/dist/postfix/util/sys_defs.h  Sun May 14 14:07:48 2000 +0000
@@ -38,6 +38,7 @@
 #define ALIAS_DB_MAP   "hash:/etc/mail/aliases"
 #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104000000)
 /* NetBSD 1.4 and later has basename(3) */
+#include <libgen.h>
 #define HAVE_BASENAME
 #endif
 #else



Home | Main Index | Thread Index | Old Index