From 5571b51a828ef5d64a32dbad227294747a7b018e Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 24 Jul 2011 07:27:31 -0600 Subject: [PATCH] Provide NULL when missing --- compat/compat_shared.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compat/compat_shared.h b/compat/compat_shared.h index 556537b59d..1860a07f95 100644 --- a/compat/compat_shared.h +++ b/compat/compat_shared.h @@ -220,5 +220,9 @@ max(A const & lhs, A const & rhs) #define SA_RESETHAND SA_ONESHOT #endif +/* NULL is not always provided. */ +#ifndef NULL +#define NULL ((void *)0) +#endif #endif /* _SQUID_COMPAT_SHARED_H */ -- 2.47.2