Commit c720c659 c720c65923684e1900d33c12d4d2c307988ff693 by Sergey Poznyakoff

Provide default for _PATH_MAILDIR for systems lacking it.

1 parent e349d78d
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
25 #ifndef PATH_TTY_PFX 25 #ifndef PATH_TTY_PFX
26 # define PATH_TTY_PFX PATH_DEV 26 # define PATH_TTY_PFX PATH_DEV
27 #endif 27 #endif
28 #ifndef _PATH_MAILDIR
29 # define _PATH_MAILDIR "/var/spool/mail"
30 #endif
28 31
29 #ifdef HAVE_UTMP_H 32 #ifdef HAVE_UTMP_H
30 # include <utmp.h> 33 # include <utmp.h>
......