From e9bfaa8edf5ca273aea5f8986d083efbe0cd23ba Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 30 Nov 2012 06:25:33 -0700 Subject: [PATCH] digest_fiel_auth: add missing include errno.h rev. squid-3.2-11710 adds use of xstrerror() which requires errno.h --- helpers/digest_auth/file/text_backend.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helpers/digest_auth/file/text_backend.cc b/helpers/digest_auth/file/text_backend.cc index 507a1ea86c..c4465f5560 100644 --- a/helpers/digest_auth/file/text_backend.cc +++ b/helpers/digest_auth/file/text_backend.cc @@ -29,9 +29,12 @@ * Copyright (c) 2003 Robert Collins */ #include "squid.h" - #include "text_backend.h" +#if HAVE_ERRNO_H +#include +#endif + static hash_table *hash = NULL; static HASHFREE my_free; static char *passwdfile = NULL; -- 2.47.2