]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Provide NULL when missing
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Jul 2011 13:27:31 +0000 (07:27 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Jul 2011 13:27:31 +0000 (07:27 -0600)
compat/compat_shared.h

index 556537b59d6539542ba01c402329aea22b10c451..1860a07f9597fb13ebf322d38c9c96eb74eda627 100644 (file)
@@ -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 */