summaryrefslogtreecommitdiff
path: root/comsat/comsat.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2001-11-21 17:59:10 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2001-11-21 17:59:10 +0000
commitc720c65923684e1900d33c12d4d2c307988ff693 (patch)
tree7f32a94240a5bc934d4899efff250d563eb1804a /comsat/comsat.c
parente349d78d894342077f9cc5647f3e1a248df3eddd (diff)
downloadmailutils-c720c65923684e1900d33c12d4d2c307988ff693.tar.gz
mailutils-c720c65923684e1900d33c12d4d2c307988ff693.tar.bz2
Provide default for _PATH_MAILDIR for systems lacking it.
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r--comsat/comsat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index 912dc462a..c19958497 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -25,6 +25,9 @@
#ifndef PATH_TTY_PFX
# define PATH_TTY_PFX PATH_DEV
#endif
+#ifndef _PATH_MAILDIR
+# define _PATH_MAILDIR "/var/spool/mail"
+#endif
#ifdef HAVE_UTMP_H
# include <utmp.h>

Return to:

Send suggestions and report system problems to the System administrator.