From: Amos Jeffries Date: Fri, 30 Nov 2012 13:25:33 +0000 (-0700) Subject: digest_fiel_auth: add missing include errno.h X-Git-Tag: SQUID_3_2_4~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bfaa8edf5ca273aea5f8986d083efbe0cd23ba;p=thirdparty%2Fsquid.git digest_fiel_auth: add missing include errno.h rev. squid-3.2-11710 adds use of xstrerror() which requires errno.h --- 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;