From 1a45238b5f0d0463810622e401e789380e890cd4 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 19 Dec 2010 22:05:02 -0700 Subject: [PATCH] Solaris: base system lacks paths.h system definitions --- compat/os/solaris.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compat/os/solaris.h b/compat/os/solaris.h index 979720f350..5966dcfa36 100644 --- a/compat/os/solaris.h +++ b/compat/os/solaris.h @@ -72,5 +72,13 @@ SQUIDCEXTERN int gethostname(char *, int); #include "compat/os/opensolaris_10_netdb.h" #endif +/* Solaris lacks paths.h by default */ +#if HAVE_PATHS_H +#include +#endif +#if !defined(_PATH_DEVNULL) +#define _PATH_DEVNULL "/dev/null" +#endif + #endif /* _SQUID_SOLARIS_ */ #endif /* SQUID_OS_SOALRIS_H */ -- 2.47.3