]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/esi/ExpatParser.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / esi / ExpatParser.cc
index 5755cbd11130bbc860775815b4b1869e44a34477..786c832153a43dbf5f5e93fc414cd99fa2e36c55 100644 (file)
  *
  */
 
-#include "squid.h"
+#include "squid-old.h"
 
-#if USE_SQUID_ESI
+#if USE_SQUID_ESI && HAVE_LIBEXPAT
 
 #include "esi/ExpatParser.h"
 
-RegisterESIParser("expat", ESIExpatParser);
+EsiParserDefinition(ESIExpatParser);
 
 ESIExpatParser::ESIExpatParser(ESIParserClient *aClient) : theClient (aClient)
 {