These mysteriously had passed all dependency tests on machines where
the XML libraries existed, despite ESI disabling. Only showed up when built
on a machine without Expat.
#ifndef SQUID_ESIEXPATPARSER_H
#define SQUID_ESIEXPATPARSER_H
+#if USE_SQUID_ESI
+
#include "ESIParser.h"
#include "expat.h"
ESIParserClient *theClient;
};
+#endif /* USE_SQUID_ESI */
+
#endif /* SQUID_ESIEXPATPARSER_H */
#ifndef SQUID_ESILIBXML2PARSER_H
#define SQUID_ESILIBXML2PARSER_H
+#if USE_SQUID_ESI
+
#include "ESIParser.h"
// workaround for definition of "free" that prevents include of
// parser.h from libxml2 without errors
ESIParserClient *theClient;
};
+#endif /* USE_SQUID_ESI */
+
#endif /* SQUID_ESILIBXML2PARSER_H */