Permalink
Browse files

Fix compilation error when libxml2 disabled (#5249)

  • Loading branch information...
wraeth authored and tbonfort committed Feb 19, 2016
1 parent e8920e7 commit ab96f8a35e0d85ac9a83ec1cb9032ad33afe802b
Showing with 2 additions and 0 deletions.
  1. +2 −0 mapwcs20.c
View
@@ -700,6 +700,7 @@ static int msWCSParseScaleExtentString20(char *string, char *outAxis,
return MS_SUCCESS;
}
+#if defined(USE_LIBXML2)
/*
Utility function to get the first child of a node with a given node name
*/
@@ -739,6 +740,7 @@ xmlNodePtr msLibXml2GetFirstChildNs(xmlNodePtr parent, const char *name, xmlNsPt
}
return NULL;
}
+#endif /* defined(USE_LIBXML2) */
/************************************************************************/
/* msWCSParseRequest20_XMLGetCapabilities() */

0 comments on commit ab96f8a

Please sign in to comment.