From: Bborie Park Date: Thu, 9 May 2013 23:46:03 +0000 (+0000) Subject: Prevent compile error for when CGAL isn't wanted. X-Git-Tag: 2.1.0beta2~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2349cd2ad73bbf57069a382aca823374366c726d;p=postgis Prevent compile error for when CGAL isn't wanted. git-svn-id: http://svn.osgeo.org/postgis/trunk@11391 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_backend_api.c b/postgis/lwgeom_backend_api.c index cf4f71634..fc2c5a3fd 100644 --- a/postgis/lwgeom_backend_api.c +++ b/postgis/lwgeom_backend_api.c @@ -22,7 +22,9 @@ #include "../postgis_config.h" #include "lwgeom_backend_api.h" #include "lwgeom_geos.h" +#if HAVE_SFCGAL #include "lwgeom_sfcgal.h" +#endif Datum intersects(PG_FUNCTION_ARGS); Datum intersects3d(PG_FUNCTION_ARGS);