From: Amos Jeffries Date: Sun, 7 Nov 2010 05:26:48 +0000 (-0600) Subject: Solaris: base system lacks paths.h system definitions X-Git-Tag: take1~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9602fb244a15418c9505e1aa96e300f8033a5e7b;p=thirdparty%2Fsquid.git Solaris: base system lacks paths.h system definitions --- diff --git a/compat/os/solaris.h b/compat/os/solaris.h index eddbbf7308..14dce05a0a 100644 --- a/compat/os/solaris.h +++ b/compat/os/solaris.h @@ -90,5 +90,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 */