]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pathnames: guard clashing definitions on FreeBSD
authorFranco Fichtner <franco@opnsense.org>
Thu, 11 Aug 2016 13:03:50 +0000 (15:03 +0200)
committerFranco Fichtner <franco@opnsense.org>
Thu, 11 Aug 2016 13:03:50 +0000 (15:03 +0200)
include/pathnames.h

index de6a13c3a356609d95261b5e8ff48235950cd0f0..05fb082ea28c9b4efb9059f84c36b2da654e287d 100644 (file)
 #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"