]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
digest_fiel_auth: add missing include errno.h
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Nov 2012 13:25:33 +0000 (06:25 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Nov 2012 13:25:33 +0000 (06:25 -0700)
rev. squid-3.2-11710 adds use of xstrerror() which requires errno.h

helpers/digest_auth/file/text_backend.cc

index 507a1ea86ca40f5857e463d26152c989a9d3cded..c4465f5560ebe11bfe16f114307887cbfc532d1e 100644 (file)
  * Copyright (c) 2003  Robert Collins  <robertc@squid-cache.org>
  */
 #include "squid.h"
-
 #include "text_backend.h"
 
+#if HAVE_ERRNO_H
+#include <errno.h>
+#endif
+
 static hash_table *hash = NULL;
 static HASHFREE my_free;
 static char *passwdfile = NULL;