From 0773ad14a371a00a2191aa6527c0f80cca3ed6a7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 11 Aug 2016 15:03:50 +0200 Subject: pathnames: guard clashing definitions on FreeBSD --- include/pathnames.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/pathnames.h') diff --git a/include/pathnames.h b/include/pathnames.h index de6a13c3a..05fb082ea 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" -- cgit v1.2.3-55-g7522