]> granicus.if.org Git - postgis/commitdiff
Prevent compile error for when CGAL isn't wanted.
authorBborie Park <bkpark at ucdavis.edu>
Thu, 9 May 2013 23:46:03 +0000 (23:46 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Thu, 9 May 2013 23:46:03 +0000 (23:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11391 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_backend_api.c

index cf4f716345ae80154a95e3721bdd4668bcbcc0de..fc2c5a3fd302b80855ffc0547caaa2c8be2483ef 100644 (file)
@@ -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);