Provide default for _PATH_MAILDIR for systems lacking it.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -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> | ... | ... |
-
Please register or sign in to post a comment