From 1cf04e798f266315dbe53473886eb8ada27c23db Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 7 Sep 2005 23:34:32 +0000 Subject: Fix build problem when _PATH_TMP is defined --- common/compat.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'common/compat.h') diff --git a/common/compat.h b/common/compat.h index addf815..746cd4f 100644 --- a/common/compat.h +++ b/common/compat.h @@ -121,8 +121,13 @@ void vwarnx(const char *fmt, va_list ap); #ifdef HAVE_PATHS_H #include -#else +#endif + +#ifndef _PATH_DEVNULL #define _PATH_DEVNULL "/dev/null" +#endif + +#ifndef _PATH_TMP #define _PATH_TMP "/tmp" #endif -- cgit v1.2.3