From: Franco Fichtner Date: Thu, 11 Aug 2016 13:03:50 +0000 (+0200) Subject: pathnames: guard clashing definitions on FreeBSD X-Git-Tag: v2.28.2~10 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e4539da45eb9641f941ffe643474bd0f9419c0f;p=thirdparty%2Futil-linux.git pathnames: guard clashing definitions on FreeBSD --- diff --git a/include/pathnames.h b/include/pathnames.h index de6a13c3a3..05fb082ea2 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -46,10 +46,14 @@ #define _PATH_MAILDIR "/var/spool/mail" #endif #define _PATH_MOTDFILE "/etc/motd" +#ifndef _PATH_NOLOGIN #define _PATH_NOLOGIN "/etc/nologin" +#endif #define _PATH_VAR_NOLOGIN "/var/run/nologin" +#ifndef _PATH_LOGIN #define _PATH_LOGIN "/bin/login" +#endif #define _PATH_SHUTDOWN "/sbin/shutdown" #define _PATH_TERMCOLORS_DIRNAME "terminal-colors.d"