]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability: refresh_pattern requires regex
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 1 Dec 2013 07:12:31 +0000 (00:12 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 1 Dec 2013 07:12:31 +0000 (00:12 -0700)
The GnuRegex portability wrapper is required explicitly by
RefreshPattern.h on some systems which do not include regex.h implicitly
via other paths.

  This is an iCelero project

src/RefreshPattern.h

index d14e1f1e8656c5b1337cfe65a39c5aab9aa02c27..49d4e9f0af9b8296d22d9f72230e498518458dbb 100644 (file)
@@ -29,6 +29,8 @@
  *
  */
 
+#include "compat/GnuRegex.h"
+
 /// a representation of a refresh pattern. Currently a POD.
 class RefreshPattern
 {