From: Todd C. Miller Date: Thu, 16 Dec 2004 18:25:54 +0000 (+0000) Subject: Add _PATH_DEVNULL for those without it. X-Git-Tag: SUDO_1_7_0~766 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74c19b024a5b0f404fb94d2fa96cb99ebcb8b637;p=sudo Add _PATH_DEVNULL for those without it. --- diff --git a/pathnames.h.in b/pathnames.h.in index 2546b6c85..a277e4486 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -37,6 +37,10 @@ #define _PATH_TTY "/dev/tty" #endif /* _PATH_TTY */ +#ifndef _PATH_DEVNULL +#define _PATH_DEVNULL "/dev/null" +#endif /* _PATH_DEVNULL */ + #ifndef _PATH_DEFPATH #define _PATH_DEFPATH "/usr/bin:/bin" #endif /* _PATH_DEFPATH */